{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# 世界女性劳动力参与劳动占比变化的原因"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 所需数据：15岁（含）以上总就业人口比率、男性劳动力参与率、女性劳动力参与率、高等院校女生入学比例、国家收入程度"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据来源：世界银行"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "import pandas as pd\n",
    "import csv,os"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 15岁（含）以上总就业人口比率（以下简称总就业人口比率）"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据清洗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "dfa = pd.read_csv('Employment_to_population_ratio.csv',encoding = 'utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>61.806999</td>\n",
       "      <td>61.851002</td>\n",
       "      <td>62.280998</td>\n",
       "      <td>62.813999</td>\n",
       "      <td>63.213001</td>\n",
       "      <td>63.665001</td>\n",
       "      <td>64.172997</td>\n",
       "      <td>64.511002</td>\n",
       "      <td>64.858002</td>\n",
       "      <td>64.939003</td>\n",
       "      <td>65.028000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>69.514999</td>\n",
       "      <td>70.731003</td>\n",
       "      <td>72.132004</td>\n",
       "      <td>72.167999</td>\n",
       "      <td>72.098000</td>\n",
       "      <td>72.102997</td>\n",
       "      <td>72.181000</td>\n",
       "      <td>72.142998</td>\n",
       "      <td>72.186996</td>\n",
       "      <td>72.039001</td>\n",
       "      <td>71.982002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>47.077000</td>\n",
       "      <td>46.625999</td>\n",
       "      <td>48.203999</td>\n",
       "      <td>49.759998</td>\n",
       "      <td>45.139999</td>\n",
       "      <td>44.851002</td>\n",
       "      <td>46.808998</td>\n",
       "      <td>47.724998</td>\n",
       "      <td>48.458000</td>\n",
       "      <td>48.269001</td>\n",
       "      <td>48.127998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>43.638380</td>\n",
       "      <td>44.008296</td>\n",
       "      <td>43.697464</td>\n",
       "      <td>43.738764</td>\n",
       "      <td>43.966162</td>\n",
       "      <td>43.776550</td>\n",
       "      <td>43.476316</td>\n",
       "      <td>43.486766</td>\n",
       "      <td>43.463359</td>\n",
       "      <td>43.474533</td>\n",
       "      <td>43.465509</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>80.097000</td>\n",
       "      <td>81.258003</td>\n",
       "      <td>81.486000</td>\n",
       "      <td>81.589996</td>\n",
       "      <td>81.748001</td>\n",
       "      <td>82.114998</td>\n",
       "      <td>82.593002</td>\n",
       "      <td>82.277000</td>\n",
       "      <td>81.292999</td>\n",
       "      <td>80.882004</td>\n",
       "      <td>80.671997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>55.942001</td>\n",
       "      <td>55.935001</td>\n",
       "      <td>56.470001</td>\n",
       "      <td>56.313000</td>\n",
       "      <td>56.115002</td>\n",
       "      <td>55.511002</td>\n",
       "      <td>55.551998</td>\n",
       "      <td>55.561001</td>\n",
       "      <td>55.574001</td>\n",
       "      <td>54.757999</td>\n",
       "      <td>54.327999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>46.380001</td>\n",
       "      <td>48.224998</td>\n",
       "      <td>49.414001</td>\n",
       "      <td>49.907001</td>\n",
       "      <td>50.924999</td>\n",
       "      <td>49.905998</td>\n",
       "      <td>48.873001</td>\n",
       "      <td>48.334000</td>\n",
       "      <td>48.188000</td>\n",
       "      <td>48.389000</td>\n",
       "      <td>48.463001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>American Samoa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>61.886002</td>\n",
       "      <td>62.118000</td>\n",
       "      <td>62.222000</td>\n",
       "      <td>61.841000</td>\n",
       "      <td>61.324001</td>\n",
       "      <td>60.823002</td>\n",
       "      <td>61.103001</td>\n",
       "      <td>61.182999</td>\n",
       "      <td>61.494999</td>\n",
       "      <td>61.526001</td>\n",
       "      <td>61.455002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>56.797001</td>\n",
       "      <td>57.068001</td>\n",
       "      <td>57.280998</td>\n",
       "      <td>57.362999</td>\n",
       "      <td>57.210999</td>\n",
       "      <td>56.779999</td>\n",
       "      <td>56.660999</td>\n",
       "      <td>56.792999</td>\n",
       "      <td>57.039001</td>\n",
       "      <td>57.344002</td>\n",
       "      <td>57.273998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>59.834999</td>\n",
       "      <td>60.167999</td>\n",
       "      <td>60.523998</td>\n",
       "      <td>60.938000</td>\n",
       "      <td>61.339001</td>\n",
       "      <td>61.858002</td>\n",
       "      <td>62.264999</td>\n",
       "      <td>62.935001</td>\n",
       "      <td>63.237000</td>\n",
       "      <td>62.872002</td>\n",
       "      <td>62.490002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>78.189003</td>\n",
       "      <td>77.896004</td>\n",
       "      <td>77.600998</td>\n",
       "      <td>77.359001</td>\n",
       "      <td>77.124001</td>\n",
       "      <td>76.936996</td>\n",
       "      <td>77.227997</td>\n",
       "      <td>77.512001</td>\n",
       "      <td>77.804001</td>\n",
       "      <td>77.824997</td>\n",
       "      <td>77.810997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>49.161999</td>\n",
       "      <td>49.493000</td>\n",
       "      <td>49.283001</td>\n",
       "      <td>49.131001</td>\n",
       "      <td>48.986000</td>\n",
       "      <td>48.986000</td>\n",
       "      <td>48.911999</td>\n",
       "      <td>49.063999</td>\n",
       "      <td>49.595001</td>\n",
       "      <td>49.904999</td>\n",
       "      <td>49.728001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>70.564003</td>\n",
       "      <td>70.306000</td>\n",
       "      <td>68.988998</td>\n",
       "      <td>68.959000</td>\n",
       "      <td>69.030998</td>\n",
       "      <td>69.152000</td>\n",
       "      <td>69.265999</td>\n",
       "      <td>69.353996</td>\n",
       "      <td>69.580002</td>\n",
       "      <td>69.699997</td>\n",
       "      <td>69.852997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>68.061996</td>\n",
       "      <td>66.924004</td>\n",
       "      <td>65.844002</td>\n",
       "      <td>64.638000</td>\n",
       "      <td>63.430000</td>\n",
       "      <td>62.363998</td>\n",
       "      <td>62.251999</td>\n",
       "      <td>62.506001</td>\n",
       "      <td>62.759998</td>\n",
       "      <td>62.598000</td>\n",
       "      <td>62.400002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>53.943001</td>\n",
       "      <td>54.786999</td>\n",
       "      <td>54.535000</td>\n",
       "      <td>54.299999</td>\n",
       "      <td>54.044998</td>\n",
       "      <td>54.018002</td>\n",
       "      <td>53.981998</td>\n",
       "      <td>53.980000</td>\n",
       "      <td>56.139999</td>\n",
       "      <td>56.194000</td>\n",
       "      <td>56.216000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>50.625999</td>\n",
       "      <td>47.917999</td>\n",
       "      <td>46.618000</td>\n",
       "      <td>46.561001</td>\n",
       "      <td>46.891998</td>\n",
       "      <td>47.964001</td>\n",
       "      <td>49.227001</td>\n",
       "      <td>49.405998</td>\n",
       "      <td>52.040001</td>\n",
       "      <td>52.438999</td>\n",
       "      <td>52.564999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>70.662003</td>\n",
       "      <td>71.403999</td>\n",
       "      <td>70.602997</td>\n",
       "      <td>70.638000</td>\n",
       "      <td>70.649002</td>\n",
       "      <td>70.751999</td>\n",
       "      <td>70.870003</td>\n",
       "      <td>71.166000</td>\n",
       "      <td>71.735001</td>\n",
       "      <td>72.139000</td>\n",
       "      <td>72.552002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>64.339996</td>\n",
       "      <td>64.162003</td>\n",
       "      <td>64.078003</td>\n",
       "      <td>64.431999</td>\n",
       "      <td>62.769001</td>\n",
       "      <td>64.487999</td>\n",
       "      <td>65.722000</td>\n",
       "      <td>65.112999</td>\n",
       "      <td>65.304001</td>\n",
       "      <td>65.720001</td>\n",
       "      <td>65.944000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>36.706001</td>\n",
       "      <td>35.027000</td>\n",
       "      <td>34.720001</td>\n",
       "      <td>34.293999</td>\n",
       "      <td>34.318001</td>\n",
       "      <td>34.032001</td>\n",
       "      <td>33.816002</td>\n",
       "      <td>34.848000</td>\n",
       "      <td>37.308998</td>\n",
       "      <td>37.056000</td>\n",
       "      <td>36.787998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>58.771000</td>\n",
       "      <td>59.200001</td>\n",
       "      <td>59.506001</td>\n",
       "      <td>59.814999</td>\n",
       "      <td>60.125999</td>\n",
       "      <td>60.347000</td>\n",
       "      <td>60.473000</td>\n",
       "      <td>60.509998</td>\n",
       "      <td>60.361000</td>\n",
       "      <td>60.046001</td>\n",
       "      <td>59.678001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>59.895000</td>\n",
       "      <td>59.395000</td>\n",
       "      <td>59.311001</td>\n",
       "      <td>58.935001</td>\n",
       "      <td>60.034000</td>\n",
       "      <td>59.444000</td>\n",
       "      <td>59.807999</td>\n",
       "      <td>61.512001</td>\n",
       "      <td>60.924999</td>\n",
       "      <td>60.863998</td>\n",
       "      <td>60.977001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>69.997002</td>\n",
       "      <td>70.121002</td>\n",
       "      <td>70.224998</td>\n",
       "      <td>67.500999</td>\n",
       "      <td>67.646004</td>\n",
       "      <td>69.859001</td>\n",
       "      <td>64.989998</td>\n",
       "      <td>68.452003</td>\n",
       "      <td>65.693001</td>\n",
       "      <td>65.680000</td>\n",
       "      <td>65.684998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>60.294998</td>\n",
       "      <td>59.785000</td>\n",
       "      <td>59.243999</td>\n",
       "      <td>59.722000</td>\n",
       "      <td>59.742001</td>\n",
       "      <td>59.683998</td>\n",
       "      <td>58.691002</td>\n",
       "      <td>56.424000</td>\n",
       "      <td>55.877998</td>\n",
       "      <td>55.924000</td>\n",
       "      <td>55.988998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>61.601002</td>\n",
       "      <td>60.736000</td>\n",
       "      <td>60.268002</td>\n",
       "      <td>59.000999</td>\n",
       "      <td>59.595001</td>\n",
       "      <td>57.307999</td>\n",
       "      <td>58.216000</td>\n",
       "      <td>59.860001</td>\n",
       "      <td>59.682999</td>\n",
       "      <td>59.269001</td>\n",
       "      <td>58.876999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>62.115002</td>\n",
       "      <td>61.993999</td>\n",
       "      <td>61.931999</td>\n",
       "      <td>61.721001</td>\n",
       "      <td>61.487999</td>\n",
       "      <td>61.368000</td>\n",
       "      <td>60.681999</td>\n",
       "      <td>59.984001</td>\n",
       "      <td>59.304001</td>\n",
       "      <td>59.137001</td>\n",
       "      <td>58.882999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>60.057772</td>\n",
       "      <td>60.052800</td>\n",
       "      <td>60.081146</td>\n",
       "      <td>60.673796</td>\n",
       "      <td>60.511827</td>\n",
       "      <td>60.397636</td>\n",
       "      <td>60.123546</td>\n",
       "      <td>59.313757</td>\n",
       "      <td>59.230372</td>\n",
       "      <td>59.218351</td>\n",
       "      <td>59.202229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>41.435001</td>\n",
       "      <td>40.109001</td>\n",
       "      <td>39.678001</td>\n",
       "      <td>39.194000</td>\n",
       "      <td>38.741001</td>\n",
       "      <td>38.344002</td>\n",
       "      <td>38.000000</td>\n",
       "      <td>37.941002</td>\n",
       "      <td>37.987999</td>\n",
       "      <td>37.818001</td>\n",
       "      <td>37.661999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>40.614814</td>\n",
       "      <td>40.457170</td>\n",
       "      <td>39.963886</td>\n",
       "      <td>39.739194</td>\n",
       "      <td>40.004262</td>\n",
       "      <td>39.611611</td>\n",
       "      <td>39.337862</td>\n",
       "      <td>39.507395</td>\n",
       "      <td>39.470662</td>\n",
       "      <td>39.455406</td>\n",
       "      <td>39.377361</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>59.400002</td>\n",
       "      <td>59.210999</td>\n",
       "      <td>59.118000</td>\n",
       "      <td>59.111000</td>\n",
       "      <td>59.195000</td>\n",
       "      <td>59.126999</td>\n",
       "      <td>58.974998</td>\n",
       "      <td>58.948002</td>\n",
       "      <td>58.938000</td>\n",
       "      <td>58.921001</td>\n",
       "      <td>58.897999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>53.879098</td>\n",
       "      <td>53.362912</td>\n",
       "      <td>52.608834</td>\n",
       "      <td>51.830244</td>\n",
       "      <td>51.746736</td>\n",
       "      <td>51.804255</td>\n",
       "      <td>51.775581</td>\n",
       "      <td>51.756923</td>\n",
       "      <td>51.982636</td>\n",
       "      <td>51.928205</td>\n",
       "      <td>51.864906</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>63.505866</td>\n",
       "      <td>63.108972</td>\n",
       "      <td>63.067920</td>\n",
       "      <td>63.027748</td>\n",
       "      <td>63.053813</td>\n",
       "      <td>62.972281</td>\n",
       "      <td>62.884010</td>\n",
       "      <td>62.785203</td>\n",
       "      <td>62.939882</td>\n",
       "      <td>62.954020</td>\n",
       "      <td>62.934808</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>61.187000</td>\n",
       "      <td>59.943001</td>\n",
       "      <td>59.511002</td>\n",
       "      <td>60.077000</td>\n",
       "      <td>60.814999</td>\n",
       "      <td>61.254002</td>\n",
       "      <td>60.587002</td>\n",
       "      <td>59.544998</td>\n",
       "      <td>59.181999</td>\n",
       "      <td>58.853001</td>\n",
       "      <td>58.497002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>40.147999</td>\n",
       "      <td>40.573002</td>\n",
       "      <td>38.333000</td>\n",
       "      <td>39.230999</td>\n",
       "      <td>39.681000</td>\n",
       "      <td>39.970001</td>\n",
       "      <td>39.811001</td>\n",
       "      <td>39.549000</td>\n",
       "      <td>39.452999</td>\n",
       "      <td>39.270000</td>\n",
       "      <td>39.088001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>40.783001</td>\n",
       "      <td>42.613998</td>\n",
       "      <td>44.498001</td>\n",
       "      <td>44.765999</td>\n",
       "      <td>45.313999</td>\n",
       "      <td>45.183998</td>\n",
       "      <td>45.785999</td>\n",
       "      <td>46.160999</td>\n",
       "      <td>46.908001</td>\n",
       "      <td>46.800999</td>\n",
       "      <td>46.196999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>Tuvalu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>84.746002</td>\n",
       "      <td>83.710999</td>\n",
       "      <td>82.723000</td>\n",
       "      <td>82.251999</td>\n",
       "      <td>81.781998</td>\n",
       "      <td>81.652000</td>\n",
       "      <td>81.626999</td>\n",
       "      <td>81.624001</td>\n",
       "      <td>81.709000</td>\n",
       "      <td>81.586998</td>\n",
       "      <td>81.475998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>68.206001</td>\n",
       "      <td>68.240997</td>\n",
       "      <td>68.403999</td>\n",
       "      <td>68.541000</td>\n",
       "      <td>69.709999</td>\n",
       "      <td>69.706001</td>\n",
       "      <td>69.685997</td>\n",
       "      <td>69.712997</td>\n",
       "      <td>69.738998</td>\n",
       "      <td>69.771004</td>\n",
       "      <td>69.806999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>50.085999</td>\n",
       "      <td>50.547001</td>\n",
       "      <td>50.896000</td>\n",
       "      <td>50.785000</td>\n",
       "      <td>51.567001</td>\n",
       "      <td>49.262001</td>\n",
       "      <td>49.596001</td>\n",
       "      <td>49.268002</td>\n",
       "      <td>49.056999</td>\n",
       "      <td>48.910000</td>\n",
       "      <td>48.696999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>62.271155</td>\n",
       "      <td>62.041324</td>\n",
       "      <td>62.053595</td>\n",
       "      <td>62.064740</td>\n",
       "      <td>61.904401</td>\n",
       "      <td>61.686587</td>\n",
       "      <td>61.484884</td>\n",
       "      <td>61.134219</td>\n",
       "      <td>60.984702</td>\n",
       "      <td>60.672972</td>\n",
       "      <td>60.299311</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>60.687000</td>\n",
       "      <td>60.797001</td>\n",
       "      <td>61.707001</td>\n",
       "      <td>61.162998</td>\n",
       "      <td>60.695000</td>\n",
       "      <td>61.092999</td>\n",
       "      <td>60.084000</td>\n",
       "      <td>59.591999</td>\n",
       "      <td>59.133999</td>\n",
       "      <td>59.209000</td>\n",
       "      <td>59.332001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>58.370998</td>\n",
       "      <td>57.460999</td>\n",
       "      <td>57.379002</td>\n",
       "      <td>57.824001</td>\n",
       "      <td>57.908001</td>\n",
       "      <td>58.374001</td>\n",
       "      <td>58.743000</td>\n",
       "      <td>59.137001</td>\n",
       "      <td>59.580002</td>\n",
       "      <td>59.581001</td>\n",
       "      <td>59.359001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>60.551998</td>\n",
       "      <td>60.561001</td>\n",
       "      <td>61.041000</td>\n",
       "      <td>61.341999</td>\n",
       "      <td>61.597000</td>\n",
       "      <td>61.674999</td>\n",
       "      <td>61.820999</td>\n",
       "      <td>61.946999</td>\n",
       "      <td>62.181000</td>\n",
       "      <td>62.074001</td>\n",
       "      <td>61.887001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>54.808998</td>\n",
       "      <td>54.775002</td>\n",
       "      <td>54.896000</td>\n",
       "      <td>54.990002</td>\n",
       "      <td>55.044998</td>\n",
       "      <td>55.029999</td>\n",
       "      <td>54.618999</td>\n",
       "      <td>54.700001</td>\n",
       "      <td>54.872002</td>\n",
       "      <td>54.812000</td>\n",
       "      <td>54.771000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>59.866001</td>\n",
       "      <td>59.327999</td>\n",
       "      <td>60.330002</td>\n",
       "      <td>59.990002</td>\n",
       "      <td>59.456001</td>\n",
       "      <td>59.683998</td>\n",
       "      <td>59.499001</td>\n",
       "      <td>58.303001</td>\n",
       "      <td>57.645000</td>\n",
       "      <td>56.992001</td>\n",
       "      <td>56.471001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>British Virgin Islands</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>57.178001</td>\n",
       "      <td>56.768002</td>\n",
       "      <td>56.299000</td>\n",
       "      <td>55.683998</td>\n",
       "      <td>55.220001</td>\n",
       "      <td>54.951000</td>\n",
       "      <td>54.723999</td>\n",
       "      <td>54.604000</td>\n",
       "      <td>54.578999</td>\n",
       "      <td>54.396999</td>\n",
       "      <td>54.195999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>74.565002</td>\n",
       "      <td>75.337997</td>\n",
       "      <td>75.648003</td>\n",
       "      <td>75.856003</td>\n",
       "      <td>76.598999</td>\n",
       "      <td>76.818001</td>\n",
       "      <td>76.398003</td>\n",
       "      <td>75.957001</td>\n",
       "      <td>76.035004</td>\n",
       "      <td>75.960999</td>\n",
       "      <td>75.828003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>66.317001</td>\n",
       "      <td>66.389999</td>\n",
       "      <td>66.265999</td>\n",
       "      <td>66.144997</td>\n",
       "      <td>66.172997</td>\n",
       "      <td>66.263000</td>\n",
       "      <td>66.681000</td>\n",
       "      <td>66.497002</td>\n",
       "      <td>66.651001</td>\n",
       "      <td>66.710999</td>\n",
       "      <td>66.765999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>59.168059</td>\n",
       "      <td>58.917927</td>\n",
       "      <td>58.768182</td>\n",
       "      <td>58.624153</td>\n",
       "      <td>58.535490</td>\n",
       "      <td>58.514324</td>\n",
       "      <td>58.436964</td>\n",
       "      <td>58.347254</td>\n",
       "      <td>58.430395</td>\n",
       "      <td>58.320269</td>\n",
       "      <td>58.146006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>30.860001</td>\n",
       "      <td>30.763000</td>\n",
       "      <td>30.371000</td>\n",
       "      <td>29.337000</td>\n",
       "      <td>29.400999</td>\n",
       "      <td>29.330000</td>\n",
       "      <td>29.232000</td>\n",
       "      <td>28.879999</td>\n",
       "      <td>28.844999</td>\n",
       "      <td>28.754999</td>\n",
       "      <td>28.598000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>Kosovo</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>34.959000</td>\n",
       "      <td>34.425999</td>\n",
       "      <td>33.694000</td>\n",
       "      <td>33.039001</td>\n",
       "      <td>32.430000</td>\n",
       "      <td>31.976999</td>\n",
       "      <td>32.316002</td>\n",
       "      <td>33.001999</td>\n",
       "      <td>33.462002</td>\n",
       "      <td>33.520000</td>\n",
       "      <td>33.522999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>41.287998</td>\n",
       "      <td>39.431999</td>\n",
       "      <td>39.410999</td>\n",
       "      <td>39.637001</td>\n",
       "      <td>40.146000</td>\n",
       "      <td>40.127998</td>\n",
       "      <td>40.902000</td>\n",
       "      <td>40.188999</td>\n",
       "      <td>40.400002</td>\n",
       "      <td>40.563000</td>\n",
       "      <td>40.313999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>68.977997</td>\n",
       "      <td>66.430000</td>\n",
       "      <td>68.161003</td>\n",
       "      <td>69.360001</td>\n",
       "      <td>69.389999</td>\n",
       "      <td>69.446999</td>\n",
       "      <td>69.630997</td>\n",
       "      <td>69.681999</td>\n",
       "      <td>69.795998</td>\n",
       "      <td>69.765999</td>\n",
       "      <td>69.797997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>78.417999</td>\n",
       "      <td>78.389000</td>\n",
       "      <td>78.292000</td>\n",
       "      <td>78.194000</td>\n",
       "      <td>78.306000</td>\n",
       "      <td>78.514999</td>\n",
       "      <td>78.685997</td>\n",
       "      <td>78.959999</td>\n",
       "      <td>79.287003</td>\n",
       "      <td>79.439003</td>\n",
       "      <td>79.566002</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "0                                                Aruba        NaN        NaN   \n",
       "1                                          Afghanistan  61.806999  61.851002   \n",
       "2                                               Angola  69.514999  70.731003   \n",
       "3                                              Albania  47.077000  46.625999   \n",
       "4                                              Andorra        NaN        NaN   \n",
       "5                                           Arab World  43.638380  44.008296   \n",
       "6                                 United Arab Emirates  80.097000  81.258003   \n",
       "7                                            Argentina  55.942001  55.935001   \n",
       "8                                              Armenia  46.380001  48.224998   \n",
       "9                                       American Samoa        NaN        NaN   \n",
       "10                                 Antigua and Barbuda        NaN        NaN   \n",
       "11                                           Australia  61.886002  62.118000   \n",
       "12                                             Austria  56.797001  57.068001   \n",
       "13                                          Azerbaijan  59.834999  60.167999   \n",
       "14                                             Burundi  78.189003  77.896004   \n",
       "15                                             Belgium  49.161999  49.493000   \n",
       "16                                               Benin  70.564003  70.306000   \n",
       "17                                        Burkina Faso  68.061996  66.924004   \n",
       "18                                          Bangladesh  53.943001  54.786999   \n",
       "19                                            Bulgaria  50.625999  47.917999   \n",
       "20                                             Bahrain  70.662003  71.403999   \n",
       "21                                        Bahamas, The  64.339996  64.162003   \n",
       "22                              Bosnia and Herzegovina  36.706001  35.027000   \n",
       "23                                             Belarus  58.771000  59.200001   \n",
       "24                                              Belize  59.895000  59.395000   \n",
       "25                                             Bermuda        NaN        NaN   \n",
       "26                                             Bolivia  69.997002  70.121002   \n",
       "27                                              Brazil  60.294998  59.785000   \n",
       "28                                            Barbados  61.601002  60.736000   \n",
       "29                                   Brunei Darussalam  62.115002  61.993999   \n",
       "..                                                 ...        ...        ...   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  60.057772  60.052800   \n",
       "235                                        Timor-Leste  41.435001  40.109001   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  40.614814  40.457170   \n",
       "237                                              Tonga  59.400002  59.210999   \n",
       "238                            South Asia (IDA & IBRD)  53.879098  53.362912   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  63.505866  63.108972   \n",
       "240                                Trinidad and Tobago  61.187000  59.943001   \n",
       "241                                            Tunisia  40.147999  40.573002   \n",
       "242                                             Turkey  40.783001  42.613998   \n",
       "243                                             Tuvalu        NaN        NaN   \n",
       "244                                           Tanzania  84.746002  83.710999   \n",
       "245                                             Uganda  68.206001  68.240997   \n",
       "246                                            Ukraine  50.085999  50.547001   \n",
       "247                                Upper middle income  62.271155  62.041324   \n",
       "248                                            Uruguay  60.687000  60.797001   \n",
       "249                                      United States  58.370998  57.460999   \n",
       "250                                         Uzbekistan  60.551998  60.561001   \n",
       "251                     St. Vincent and the Grenadines  54.808998  54.775002   \n",
       "252                                      Venezuela, RB  59.866001  59.327999   \n",
       "253                             British Virgin Islands        NaN        NaN   \n",
       "254                              Virgin Islands (U.S.)  57.178001  56.768002   \n",
       "255                                            Vietnam  74.565002  75.337997   \n",
       "256                                            Vanuatu  66.317001  66.389999   \n",
       "257                                              World  59.168059  58.917927   \n",
       "258                                              Samoa  30.860001  30.763000   \n",
       "259                                             Kosovo        NaN        NaN   \n",
       "260                                        Yemen, Rep.  34.959000  34.425999   \n",
       "261                                       South Africa  41.287998  39.431999   \n",
       "262                                             Zambia  68.977997  66.430000   \n",
       "263                                           Zimbabwe  78.417999  78.389000   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "0          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "1    62.280998  62.813999  63.213001  63.665001  64.172997  64.511002   \n",
       "2    72.132004  72.167999  72.098000  72.102997  72.181000  72.142998   \n",
       "3    48.203999  49.759998  45.139999  44.851002  46.808998  47.724998   \n",
       "4          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "5    43.697464  43.738764  43.966162  43.776550  43.476316  43.486766   \n",
       "6    81.486000  81.589996  81.748001  82.114998  82.593002  82.277000   \n",
       "7    56.470001  56.313000  56.115002  55.511002  55.551998  55.561001   \n",
       "8    49.414001  49.907001  50.924999  49.905998  48.873001  48.334000   \n",
       "9          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "10         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "11   62.222000  61.841000  61.324001  60.823002  61.103001  61.182999   \n",
       "12   57.280998  57.362999  57.210999  56.779999  56.660999  56.792999   \n",
       "13   60.523998  60.938000  61.339001  61.858002  62.264999  62.935001   \n",
       "14   77.600998  77.359001  77.124001  76.936996  77.227997  77.512001   \n",
       "15   49.283001  49.131001  48.986000  48.986000  48.911999  49.063999   \n",
       "16   68.988998  68.959000  69.030998  69.152000  69.265999  69.353996   \n",
       "17   65.844002  64.638000  63.430000  62.363998  62.251999  62.506001   \n",
       "18   54.535000  54.299999  54.044998  54.018002  53.981998  53.980000   \n",
       "19   46.618000  46.561001  46.891998  47.964001  49.227001  49.405998   \n",
       "20   70.602997  70.638000  70.649002  70.751999  70.870003  71.166000   \n",
       "21   64.078003  64.431999  62.769001  64.487999  65.722000  65.112999   \n",
       "22   34.720001  34.293999  34.318001  34.032001  33.816002  34.848000   \n",
       "23   59.506001  59.814999  60.125999  60.347000  60.473000  60.509998   \n",
       "24   59.311001  58.935001  60.034000  59.444000  59.807999  61.512001   \n",
       "25         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "26   70.224998  67.500999  67.646004  69.859001  64.989998  68.452003   \n",
       "27   59.243999  59.722000  59.742001  59.683998  58.691002  56.424000   \n",
       "28   60.268002  59.000999  59.595001  57.307999  58.216000  59.860001   \n",
       "29   61.931999  61.721001  61.487999  61.368000  60.681999  59.984001   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "234  60.081146  60.673796  60.511827  60.397636  60.123546  59.313757   \n",
       "235  39.678001  39.194000  38.741001  38.344002  38.000000  37.941002   \n",
       "236  39.963886  39.739194  40.004262  39.611611  39.337862  39.507395   \n",
       "237  59.118000  59.111000  59.195000  59.126999  58.974998  58.948002   \n",
       "238  52.608834  51.830244  51.746736  51.804255  51.775581  51.756923   \n",
       "239  63.067920  63.027748  63.053813  62.972281  62.884010  62.785203   \n",
       "240  59.511002  60.077000  60.814999  61.254002  60.587002  59.544998   \n",
       "241  38.333000  39.230999  39.681000  39.970001  39.811001  39.549000   \n",
       "242  44.498001  44.765999  45.313999  45.183998  45.785999  46.160999   \n",
       "243        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "244  82.723000  82.251999  81.781998  81.652000  81.626999  81.624001   \n",
       "245  68.403999  68.541000  69.709999  69.706001  69.685997  69.712997   \n",
       "246  50.896000  50.785000  51.567001  49.262001  49.596001  49.268002   \n",
       "247  62.053595  62.064740  61.904401  61.686587  61.484884  61.134219   \n",
       "248  61.707001  61.162998  60.695000  61.092999  60.084000  59.591999   \n",
       "249  57.379002  57.824001  57.908001  58.374001  58.743000  59.137001   \n",
       "250  61.041000  61.341999  61.597000  61.674999  61.820999  61.946999   \n",
       "251  54.896000  54.990002  55.044998  55.029999  54.618999  54.700001   \n",
       "252  60.330002  59.990002  59.456001  59.683998  59.499001  58.303001   \n",
       "253        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "254  56.299000  55.683998  55.220001  54.951000  54.723999  54.604000   \n",
       "255  75.648003  75.856003  76.598999  76.818001  76.398003  75.957001   \n",
       "256  66.265999  66.144997  66.172997  66.263000  66.681000  66.497002   \n",
       "257  58.768182  58.624153  58.535490  58.514324  58.436964  58.347254   \n",
       "258  30.371000  29.337000  29.400999  29.330000  29.232000  28.879999   \n",
       "259        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "260  33.694000  33.039001  32.430000  31.976999  32.316002  33.001999   \n",
       "261  39.410999  39.637001  40.146000  40.127998  40.902000  40.188999   \n",
       "262  68.161003  69.360001  69.389999  69.446999  69.630997  69.681999   \n",
       "263  78.292000  78.194000  78.306000  78.514999  78.685997  78.959999   \n",
       "\n",
       "          2017       2018       2019  \n",
       "0          NaN        NaN        NaN  \n",
       "1    64.858002  64.939003  65.028000  \n",
       "2    72.186996  72.039001  71.982002  \n",
       "3    48.458000  48.269001  48.127998  \n",
       "4          NaN        NaN        NaN  \n",
       "5    43.463359  43.474533  43.465509  \n",
       "6    81.292999  80.882004  80.671997  \n",
       "7    55.574001  54.757999  54.327999  \n",
       "8    48.188000  48.389000  48.463001  \n",
       "9          NaN        NaN        NaN  \n",
       "10         NaN        NaN        NaN  \n",
       "11   61.494999  61.526001  61.455002  \n",
       "12   57.039001  57.344002  57.273998  \n",
       "13   63.237000  62.872002  62.490002  \n",
       "14   77.804001  77.824997  77.810997  \n",
       "15   49.595001  49.904999  49.728001  \n",
       "16   69.580002  69.699997  69.852997  \n",
       "17   62.759998  62.598000  62.400002  \n",
       "18   56.139999  56.194000  56.216000  \n",
       "19   52.040001  52.438999  52.564999  \n",
       "20   71.735001  72.139000  72.552002  \n",
       "21   65.304001  65.720001  65.944000  \n",
       "22   37.308998  37.056000  36.787998  \n",
       "23   60.361000  60.046001  59.678001  \n",
       "24   60.924999  60.863998  60.977001  \n",
       "25         NaN        NaN        NaN  \n",
       "26   65.693001  65.680000  65.684998  \n",
       "27   55.877998  55.924000  55.988998  \n",
       "28   59.682999  59.269001  58.876999  \n",
       "29   59.304001  59.137001  58.882999  \n",
       "..         ...        ...        ...  \n",
       "234  59.230372  59.218351  59.202229  \n",
       "235  37.987999  37.818001  37.661999  \n",
       "236  39.470662  39.455406  39.377361  \n",
       "237  58.938000  58.921001  58.897999  \n",
       "238  51.982636  51.928205  51.864906  \n",
       "239  62.939882  62.954020  62.934808  \n",
       "240  59.181999  58.853001  58.497002  \n",
       "241  39.452999  39.270000  39.088001  \n",
       "242  46.908001  46.800999  46.196999  \n",
       "243        NaN        NaN        NaN  \n",
       "244  81.709000  81.586998  81.475998  \n",
       "245  69.738998  69.771004  69.806999  \n",
       "246  49.056999  48.910000  48.696999  \n",
       "247  60.984702  60.672972  60.299311  \n",
       "248  59.133999  59.209000  59.332001  \n",
       "249  59.580002  59.581001  59.359001  \n",
       "250  62.181000  62.074001  61.887001  \n",
       "251  54.872002  54.812000  54.771000  \n",
       "252  57.645000  56.992001  56.471001  \n",
       "253        NaN        NaN        NaN  \n",
       "254  54.578999  54.396999  54.195999  \n",
       "255  76.035004  75.960999  75.828003  \n",
       "256  66.651001  66.710999  66.765999  \n",
       "257  58.430395  58.320269  58.146006  \n",
       "258  28.844999  28.754999  28.598000  \n",
       "259        NaN        NaN        NaN  \n",
       "260  33.462002  33.520000  33.522999  \n",
       "261  40.400002  40.563000  40.313999  \n",
       "262  69.795998  69.765999  69.797997  \n",
       "263  79.287003  79.439003  79.566002  \n",
       "\n",
       "[264 rows x 12 columns]"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfa"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>61.806999</td>\n",
       "      <td>61.851002</td>\n",
       "      <td>62.280998</td>\n",
       "      <td>62.813999</td>\n",
       "      <td>63.213001</td>\n",
       "      <td>63.665001</td>\n",
       "      <td>64.172997</td>\n",
       "      <td>64.511002</td>\n",
       "      <td>64.858002</td>\n",
       "      <td>64.939003</td>\n",
       "      <td>65.028000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>69.514999</td>\n",
       "      <td>70.731003</td>\n",
       "      <td>72.132004</td>\n",
       "      <td>72.167999</td>\n",
       "      <td>72.098000</td>\n",
       "      <td>72.102997</td>\n",
       "      <td>72.181000</td>\n",
       "      <td>72.142998</td>\n",
       "      <td>72.186996</td>\n",
       "      <td>72.039001</td>\n",
       "      <td>71.982002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>47.077000</td>\n",
       "      <td>46.625999</td>\n",
       "      <td>48.203999</td>\n",
       "      <td>49.759998</td>\n",
       "      <td>45.139999</td>\n",
       "      <td>44.851002</td>\n",
       "      <td>46.808998</td>\n",
       "      <td>47.724998</td>\n",
       "      <td>48.458000</td>\n",
       "      <td>48.269001</td>\n",
       "      <td>48.127998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>43.638380</td>\n",
       "      <td>44.008296</td>\n",
       "      <td>43.697464</td>\n",
       "      <td>43.738764</td>\n",
       "      <td>43.966162</td>\n",
       "      <td>43.776550</td>\n",
       "      <td>43.476316</td>\n",
       "      <td>43.486766</td>\n",
       "      <td>43.463359</td>\n",
       "      <td>43.474533</td>\n",
       "      <td>43.465509</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>80.097000</td>\n",
       "      <td>81.258003</td>\n",
       "      <td>81.486000</td>\n",
       "      <td>81.589996</td>\n",
       "      <td>81.748001</td>\n",
       "      <td>82.114998</td>\n",
       "      <td>82.593002</td>\n",
       "      <td>82.277000</td>\n",
       "      <td>81.292999</td>\n",
       "      <td>80.882004</td>\n",
       "      <td>80.671997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>55.942001</td>\n",
       "      <td>55.935001</td>\n",
       "      <td>56.470001</td>\n",
       "      <td>56.313000</td>\n",
       "      <td>56.115002</td>\n",
       "      <td>55.511002</td>\n",
       "      <td>55.551998</td>\n",
       "      <td>55.561001</td>\n",
       "      <td>55.574001</td>\n",
       "      <td>54.757999</td>\n",
       "      <td>54.327999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>46.380001</td>\n",
       "      <td>48.224998</td>\n",
       "      <td>49.414001</td>\n",
       "      <td>49.907001</td>\n",
       "      <td>50.924999</td>\n",
       "      <td>49.905998</td>\n",
       "      <td>48.873001</td>\n",
       "      <td>48.334000</td>\n",
       "      <td>48.188000</td>\n",
       "      <td>48.389000</td>\n",
       "      <td>48.463001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>61.886002</td>\n",
       "      <td>62.118000</td>\n",
       "      <td>62.222000</td>\n",
       "      <td>61.841000</td>\n",
       "      <td>61.324001</td>\n",
       "      <td>60.823002</td>\n",
       "      <td>61.103001</td>\n",
       "      <td>61.182999</td>\n",
       "      <td>61.494999</td>\n",
       "      <td>61.526001</td>\n",
       "      <td>61.455002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>56.797001</td>\n",
       "      <td>57.068001</td>\n",
       "      <td>57.280998</td>\n",
       "      <td>57.362999</td>\n",
       "      <td>57.210999</td>\n",
       "      <td>56.779999</td>\n",
       "      <td>56.660999</td>\n",
       "      <td>56.792999</td>\n",
       "      <td>57.039001</td>\n",
       "      <td>57.344002</td>\n",
       "      <td>57.273998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>59.834999</td>\n",
       "      <td>60.167999</td>\n",
       "      <td>60.523998</td>\n",
       "      <td>60.938000</td>\n",
       "      <td>61.339001</td>\n",
       "      <td>61.858002</td>\n",
       "      <td>62.264999</td>\n",
       "      <td>62.935001</td>\n",
       "      <td>63.237000</td>\n",
       "      <td>62.872002</td>\n",
       "      <td>62.490002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>78.189003</td>\n",
       "      <td>77.896004</td>\n",
       "      <td>77.600998</td>\n",
       "      <td>77.359001</td>\n",
       "      <td>77.124001</td>\n",
       "      <td>76.936996</td>\n",
       "      <td>77.227997</td>\n",
       "      <td>77.512001</td>\n",
       "      <td>77.804001</td>\n",
       "      <td>77.824997</td>\n",
       "      <td>77.810997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>49.161999</td>\n",
       "      <td>49.493000</td>\n",
       "      <td>49.283001</td>\n",
       "      <td>49.131001</td>\n",
       "      <td>48.986000</td>\n",
       "      <td>48.986000</td>\n",
       "      <td>48.911999</td>\n",
       "      <td>49.063999</td>\n",
       "      <td>49.595001</td>\n",
       "      <td>49.904999</td>\n",
       "      <td>49.728001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>70.564003</td>\n",
       "      <td>70.306000</td>\n",
       "      <td>68.988998</td>\n",
       "      <td>68.959000</td>\n",
       "      <td>69.030998</td>\n",
       "      <td>69.152000</td>\n",
       "      <td>69.265999</td>\n",
       "      <td>69.353996</td>\n",
       "      <td>69.580002</td>\n",
       "      <td>69.699997</td>\n",
       "      <td>69.852997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>68.061996</td>\n",
       "      <td>66.924004</td>\n",
       "      <td>65.844002</td>\n",
       "      <td>64.638000</td>\n",
       "      <td>63.430000</td>\n",
       "      <td>62.363998</td>\n",
       "      <td>62.251999</td>\n",
       "      <td>62.506001</td>\n",
       "      <td>62.759998</td>\n",
       "      <td>62.598000</td>\n",
       "      <td>62.400002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>53.943001</td>\n",
       "      <td>54.786999</td>\n",
       "      <td>54.535000</td>\n",
       "      <td>54.299999</td>\n",
       "      <td>54.044998</td>\n",
       "      <td>54.018002</td>\n",
       "      <td>53.981998</td>\n",
       "      <td>53.980000</td>\n",
       "      <td>56.139999</td>\n",
       "      <td>56.194000</td>\n",
       "      <td>56.216000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>50.625999</td>\n",
       "      <td>47.917999</td>\n",
       "      <td>46.618000</td>\n",
       "      <td>46.561001</td>\n",
       "      <td>46.891998</td>\n",
       "      <td>47.964001</td>\n",
       "      <td>49.227001</td>\n",
       "      <td>49.405998</td>\n",
       "      <td>52.040001</td>\n",
       "      <td>52.438999</td>\n",
       "      <td>52.564999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>70.662003</td>\n",
       "      <td>71.403999</td>\n",
       "      <td>70.602997</td>\n",
       "      <td>70.638000</td>\n",
       "      <td>70.649002</td>\n",
       "      <td>70.751999</td>\n",
       "      <td>70.870003</td>\n",
       "      <td>71.166000</td>\n",
       "      <td>71.735001</td>\n",
       "      <td>72.139000</td>\n",
       "      <td>72.552002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>64.339996</td>\n",
       "      <td>64.162003</td>\n",
       "      <td>64.078003</td>\n",
       "      <td>64.431999</td>\n",
       "      <td>62.769001</td>\n",
       "      <td>64.487999</td>\n",
       "      <td>65.722000</td>\n",
       "      <td>65.112999</td>\n",
       "      <td>65.304001</td>\n",
       "      <td>65.720001</td>\n",
       "      <td>65.944000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>36.706001</td>\n",
       "      <td>35.027000</td>\n",
       "      <td>34.720001</td>\n",
       "      <td>34.293999</td>\n",
       "      <td>34.318001</td>\n",
       "      <td>34.032001</td>\n",
       "      <td>33.816002</td>\n",
       "      <td>34.848000</td>\n",
       "      <td>37.308998</td>\n",
       "      <td>37.056000</td>\n",
       "      <td>36.787998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>58.771000</td>\n",
       "      <td>59.200001</td>\n",
       "      <td>59.506001</td>\n",
       "      <td>59.814999</td>\n",
       "      <td>60.125999</td>\n",
       "      <td>60.347000</td>\n",
       "      <td>60.473000</td>\n",
       "      <td>60.509998</td>\n",
       "      <td>60.361000</td>\n",
       "      <td>60.046001</td>\n",
       "      <td>59.678001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>59.895000</td>\n",
       "      <td>59.395000</td>\n",
       "      <td>59.311001</td>\n",
       "      <td>58.935001</td>\n",
       "      <td>60.034000</td>\n",
       "      <td>59.444000</td>\n",
       "      <td>59.807999</td>\n",
       "      <td>61.512001</td>\n",
       "      <td>60.924999</td>\n",
       "      <td>60.863998</td>\n",
       "      <td>60.977001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>69.997002</td>\n",
       "      <td>70.121002</td>\n",
       "      <td>70.224998</td>\n",
       "      <td>67.500999</td>\n",
       "      <td>67.646004</td>\n",
       "      <td>69.859001</td>\n",
       "      <td>64.989998</td>\n",
       "      <td>68.452003</td>\n",
       "      <td>65.693001</td>\n",
       "      <td>65.680000</td>\n",
       "      <td>65.684998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>60.294998</td>\n",
       "      <td>59.785000</td>\n",
       "      <td>59.243999</td>\n",
       "      <td>59.722000</td>\n",
       "      <td>59.742001</td>\n",
       "      <td>59.683998</td>\n",
       "      <td>58.691002</td>\n",
       "      <td>56.424000</td>\n",
       "      <td>55.877998</td>\n",
       "      <td>55.924000</td>\n",
       "      <td>55.988998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>61.601002</td>\n",
       "      <td>60.736000</td>\n",
       "      <td>60.268002</td>\n",
       "      <td>59.000999</td>\n",
       "      <td>59.595001</td>\n",
       "      <td>57.307999</td>\n",
       "      <td>58.216000</td>\n",
       "      <td>59.860001</td>\n",
       "      <td>59.682999</td>\n",
       "      <td>59.269001</td>\n",
       "      <td>58.876999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>62.115002</td>\n",
       "      <td>61.993999</td>\n",
       "      <td>61.931999</td>\n",
       "      <td>61.721001</td>\n",
       "      <td>61.487999</td>\n",
       "      <td>61.368000</td>\n",
       "      <td>60.681999</td>\n",
       "      <td>59.984001</td>\n",
       "      <td>59.304001</td>\n",
       "      <td>59.137001</td>\n",
       "      <td>58.882999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Bhutan</td>\n",
       "      <td>68.863998</td>\n",
       "      <td>67.508003</td>\n",
       "      <td>65.779999</td>\n",
       "      <td>64.216003</td>\n",
       "      <td>64.200996</td>\n",
       "      <td>62.692001</td>\n",
       "      <td>64.973999</td>\n",
       "      <td>65.149002</td>\n",
       "      <td>65.345001</td>\n",
       "      <td>65.495003</td>\n",
       "      <td>65.623001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Botswana</td>\n",
       "      <td>52.959999</td>\n",
       "      <td>49.507999</td>\n",
       "      <td>53.075001</td>\n",
       "      <td>55.956001</td>\n",
       "      <td>58.236000</td>\n",
       "      <td>58.424999</td>\n",
       "      <td>58.805000</td>\n",
       "      <td>58.938000</td>\n",
       "      <td>59.301998</td>\n",
       "      <td>59.320999</td>\n",
       "      <td>59.358002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Central African Republic</td>\n",
       "      <td>67.575996</td>\n",
       "      <td>67.499001</td>\n",
       "      <td>67.487000</td>\n",
       "      <td>67.527000</td>\n",
       "      <td>67.678001</td>\n",
       "      <td>67.545998</td>\n",
       "      <td>67.464996</td>\n",
       "      <td>67.445999</td>\n",
       "      <td>67.477997</td>\n",
       "      <td>67.430000</td>\n",
       "      <td>67.389000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Canada</td>\n",
       "      <td>61.181000</td>\n",
       "      <td>61.217999</td>\n",
       "      <td>61.387001</td>\n",
       "      <td>61.375999</td>\n",
       "      <td>61.487999</td>\n",
       "      <td>61.159000</td>\n",
       "      <td>61.014999</td>\n",
       "      <td>60.813999</td>\n",
       "      <td>61.306999</td>\n",
       "      <td>61.369999</td>\n",
       "      <td>61.053001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Central Europe and the Baltics</td>\n",
       "      <td>50.444137</td>\n",
       "      <td>50.018003</td>\n",
       "      <td>49.911343</td>\n",
       "      <td>50.163961</td>\n",
       "      <td>50.252872</td>\n",
       "      <td>51.284345</td>\n",
       "      <td>51.989261</td>\n",
       "      <td>52.763283</td>\n",
       "      <td>54.045934</td>\n",
       "      <td>54.366014</td>\n",
       "      <td>54.256696</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>Thailand</td>\n",
       "      <td>72.098000</td>\n",
       "      <td>71.251999</td>\n",
       "      <td>72.750999</td>\n",
       "      <td>72.348999</td>\n",
       "      <td>70.299004</td>\n",
       "      <td>69.293999</td>\n",
       "      <td>68.655998</td>\n",
       "      <td>67.630997</td>\n",
       "      <td>67.364998</td>\n",
       "      <td>67.056999</td>\n",
       "      <td>66.734001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>Tajikistan</td>\n",
       "      <td>38.150002</td>\n",
       "      <td>38.209000</td>\n",
       "      <td>38.318001</td>\n",
       "      <td>38.314999</td>\n",
       "      <td>38.296001</td>\n",
       "      <td>38.404999</td>\n",
       "      <td>38.578999</td>\n",
       "      <td>38.764999</td>\n",
       "      <td>38.898998</td>\n",
       "      <td>38.868000</td>\n",
       "      <td>38.806999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>Turkmenistan</td>\n",
       "      <td>60.960999</td>\n",
       "      <td>61.410999</td>\n",
       "      <td>61.654999</td>\n",
       "      <td>61.942001</td>\n",
       "      <td>62.213001</td>\n",
       "      <td>62.501999</td>\n",
       "      <td>62.692001</td>\n",
       "      <td>62.775002</td>\n",
       "      <td>62.830002</td>\n",
       "      <td>62.678001</td>\n",
       "      <td>62.515999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>60.057772</td>\n",
       "      <td>60.052800</td>\n",
       "      <td>60.081146</td>\n",
       "      <td>60.673796</td>\n",
       "      <td>60.511827</td>\n",
       "      <td>60.397636</td>\n",
       "      <td>60.123546</td>\n",
       "      <td>59.313757</td>\n",
       "      <td>59.230372</td>\n",
       "      <td>59.218351</td>\n",
       "      <td>59.202229</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>41.435001</td>\n",
       "      <td>40.109001</td>\n",
       "      <td>39.678001</td>\n",
       "      <td>39.194000</td>\n",
       "      <td>38.741001</td>\n",
       "      <td>38.344002</td>\n",
       "      <td>38.000000</td>\n",
       "      <td>37.941002</td>\n",
       "      <td>37.987999</td>\n",
       "      <td>37.818001</td>\n",
       "      <td>37.661999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>40.614814</td>\n",
       "      <td>40.457170</td>\n",
       "      <td>39.963886</td>\n",
       "      <td>39.739194</td>\n",
       "      <td>40.004262</td>\n",
       "      <td>39.611611</td>\n",
       "      <td>39.337862</td>\n",
       "      <td>39.507395</td>\n",
       "      <td>39.470662</td>\n",
       "      <td>39.455406</td>\n",
       "      <td>39.377361</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>59.400002</td>\n",
       "      <td>59.210999</td>\n",
       "      <td>59.118000</td>\n",
       "      <td>59.111000</td>\n",
       "      <td>59.195000</td>\n",
       "      <td>59.126999</td>\n",
       "      <td>58.974998</td>\n",
       "      <td>58.948002</td>\n",
       "      <td>58.938000</td>\n",
       "      <td>58.921001</td>\n",
       "      <td>58.897999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>53.879098</td>\n",
       "      <td>53.362912</td>\n",
       "      <td>52.608834</td>\n",
       "      <td>51.830244</td>\n",
       "      <td>51.746736</td>\n",
       "      <td>51.804255</td>\n",
       "      <td>51.775581</td>\n",
       "      <td>51.756923</td>\n",
       "      <td>51.982636</td>\n",
       "      <td>51.928205</td>\n",
       "      <td>51.864906</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>63.505866</td>\n",
       "      <td>63.108972</td>\n",
       "      <td>63.067920</td>\n",
       "      <td>63.027748</td>\n",
       "      <td>63.053813</td>\n",
       "      <td>62.972281</td>\n",
       "      <td>62.884010</td>\n",
       "      <td>62.785203</td>\n",
       "      <td>62.939882</td>\n",
       "      <td>62.954020</td>\n",
       "      <td>62.934808</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>61.187000</td>\n",
       "      <td>59.943001</td>\n",
       "      <td>59.511002</td>\n",
       "      <td>60.077000</td>\n",
       "      <td>60.814999</td>\n",
       "      <td>61.254002</td>\n",
       "      <td>60.587002</td>\n",
       "      <td>59.544998</td>\n",
       "      <td>59.181999</td>\n",
       "      <td>58.853001</td>\n",
       "      <td>58.497002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>40.147999</td>\n",
       "      <td>40.573002</td>\n",
       "      <td>38.333000</td>\n",
       "      <td>39.230999</td>\n",
       "      <td>39.681000</td>\n",
       "      <td>39.970001</td>\n",
       "      <td>39.811001</td>\n",
       "      <td>39.549000</td>\n",
       "      <td>39.452999</td>\n",
       "      <td>39.270000</td>\n",
       "      <td>39.088001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>40.783001</td>\n",
       "      <td>42.613998</td>\n",
       "      <td>44.498001</td>\n",
       "      <td>44.765999</td>\n",
       "      <td>45.313999</td>\n",
       "      <td>45.183998</td>\n",
       "      <td>45.785999</td>\n",
       "      <td>46.160999</td>\n",
       "      <td>46.908001</td>\n",
       "      <td>46.800999</td>\n",
       "      <td>46.196999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>84.746002</td>\n",
       "      <td>83.710999</td>\n",
       "      <td>82.723000</td>\n",
       "      <td>82.251999</td>\n",
       "      <td>81.781998</td>\n",
       "      <td>81.652000</td>\n",
       "      <td>81.626999</td>\n",
       "      <td>81.624001</td>\n",
       "      <td>81.709000</td>\n",
       "      <td>81.586998</td>\n",
       "      <td>81.475998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>68.206001</td>\n",
       "      <td>68.240997</td>\n",
       "      <td>68.403999</td>\n",
       "      <td>68.541000</td>\n",
       "      <td>69.709999</td>\n",
       "      <td>69.706001</td>\n",
       "      <td>69.685997</td>\n",
       "      <td>69.712997</td>\n",
       "      <td>69.738998</td>\n",
       "      <td>69.771004</td>\n",
       "      <td>69.806999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>50.085999</td>\n",
       "      <td>50.547001</td>\n",
       "      <td>50.896000</td>\n",
       "      <td>50.785000</td>\n",
       "      <td>51.567001</td>\n",
       "      <td>49.262001</td>\n",
       "      <td>49.596001</td>\n",
       "      <td>49.268002</td>\n",
       "      <td>49.056999</td>\n",
       "      <td>48.910000</td>\n",
       "      <td>48.696999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>62.271155</td>\n",
       "      <td>62.041324</td>\n",
       "      <td>62.053595</td>\n",
       "      <td>62.064740</td>\n",
       "      <td>61.904401</td>\n",
       "      <td>61.686587</td>\n",
       "      <td>61.484884</td>\n",
       "      <td>61.134219</td>\n",
       "      <td>60.984702</td>\n",
       "      <td>60.672972</td>\n",
       "      <td>60.299311</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>60.687000</td>\n",
       "      <td>60.797001</td>\n",
       "      <td>61.707001</td>\n",
       "      <td>61.162998</td>\n",
       "      <td>60.695000</td>\n",
       "      <td>61.092999</td>\n",
       "      <td>60.084000</td>\n",
       "      <td>59.591999</td>\n",
       "      <td>59.133999</td>\n",
       "      <td>59.209000</td>\n",
       "      <td>59.332001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>58.370998</td>\n",
       "      <td>57.460999</td>\n",
       "      <td>57.379002</td>\n",
       "      <td>57.824001</td>\n",
       "      <td>57.908001</td>\n",
       "      <td>58.374001</td>\n",
       "      <td>58.743000</td>\n",
       "      <td>59.137001</td>\n",
       "      <td>59.580002</td>\n",
       "      <td>59.581001</td>\n",
       "      <td>59.359001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>60.551998</td>\n",
       "      <td>60.561001</td>\n",
       "      <td>61.041000</td>\n",
       "      <td>61.341999</td>\n",
       "      <td>61.597000</td>\n",
       "      <td>61.674999</td>\n",
       "      <td>61.820999</td>\n",
       "      <td>61.946999</td>\n",
       "      <td>62.181000</td>\n",
       "      <td>62.074001</td>\n",
       "      <td>61.887001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>54.808998</td>\n",
       "      <td>54.775002</td>\n",
       "      <td>54.896000</td>\n",
       "      <td>54.990002</td>\n",
       "      <td>55.044998</td>\n",
       "      <td>55.029999</td>\n",
       "      <td>54.618999</td>\n",
       "      <td>54.700001</td>\n",
       "      <td>54.872002</td>\n",
       "      <td>54.812000</td>\n",
       "      <td>54.771000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>59.866001</td>\n",
       "      <td>59.327999</td>\n",
       "      <td>60.330002</td>\n",
       "      <td>59.990002</td>\n",
       "      <td>59.456001</td>\n",
       "      <td>59.683998</td>\n",
       "      <td>59.499001</td>\n",
       "      <td>58.303001</td>\n",
       "      <td>57.645000</td>\n",
       "      <td>56.992001</td>\n",
       "      <td>56.471001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>57.178001</td>\n",
       "      <td>56.768002</td>\n",
       "      <td>56.299000</td>\n",
       "      <td>55.683998</td>\n",
       "      <td>55.220001</td>\n",
       "      <td>54.951000</td>\n",
       "      <td>54.723999</td>\n",
       "      <td>54.604000</td>\n",
       "      <td>54.578999</td>\n",
       "      <td>54.396999</td>\n",
       "      <td>54.195999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>74.565002</td>\n",
       "      <td>75.337997</td>\n",
       "      <td>75.648003</td>\n",
       "      <td>75.856003</td>\n",
       "      <td>76.598999</td>\n",
       "      <td>76.818001</td>\n",
       "      <td>76.398003</td>\n",
       "      <td>75.957001</td>\n",
       "      <td>76.035004</td>\n",
       "      <td>75.960999</td>\n",
       "      <td>75.828003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>66.317001</td>\n",
       "      <td>66.389999</td>\n",
       "      <td>66.265999</td>\n",
       "      <td>66.144997</td>\n",
       "      <td>66.172997</td>\n",
       "      <td>66.263000</td>\n",
       "      <td>66.681000</td>\n",
       "      <td>66.497002</td>\n",
       "      <td>66.651001</td>\n",
       "      <td>66.710999</td>\n",
       "      <td>66.765999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>59.168059</td>\n",
       "      <td>58.917927</td>\n",
       "      <td>58.768182</td>\n",
       "      <td>58.624153</td>\n",
       "      <td>58.535490</td>\n",
       "      <td>58.514324</td>\n",
       "      <td>58.436964</td>\n",
       "      <td>58.347254</td>\n",
       "      <td>58.430395</td>\n",
       "      <td>58.320269</td>\n",
       "      <td>58.146006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>30.860001</td>\n",
       "      <td>30.763000</td>\n",
       "      <td>30.371000</td>\n",
       "      <td>29.337000</td>\n",
       "      <td>29.400999</td>\n",
       "      <td>29.330000</td>\n",
       "      <td>29.232000</td>\n",
       "      <td>28.879999</td>\n",
       "      <td>28.844999</td>\n",
       "      <td>28.754999</td>\n",
       "      <td>28.598000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>34.959000</td>\n",
       "      <td>34.425999</td>\n",
       "      <td>33.694000</td>\n",
       "      <td>33.039001</td>\n",
       "      <td>32.430000</td>\n",
       "      <td>31.976999</td>\n",
       "      <td>32.316002</td>\n",
       "      <td>33.001999</td>\n",
       "      <td>33.462002</td>\n",
       "      <td>33.520000</td>\n",
       "      <td>33.522999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>41.287998</td>\n",
       "      <td>39.431999</td>\n",
       "      <td>39.410999</td>\n",
       "      <td>39.637001</td>\n",
       "      <td>40.146000</td>\n",
       "      <td>40.127998</td>\n",
       "      <td>40.902000</td>\n",
       "      <td>40.188999</td>\n",
       "      <td>40.400002</td>\n",
       "      <td>40.563000</td>\n",
       "      <td>40.313999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>68.977997</td>\n",
       "      <td>66.430000</td>\n",
       "      <td>68.161003</td>\n",
       "      <td>69.360001</td>\n",
       "      <td>69.389999</td>\n",
       "      <td>69.446999</td>\n",
       "      <td>69.630997</td>\n",
       "      <td>69.681999</td>\n",
       "      <td>69.795998</td>\n",
       "      <td>69.765999</td>\n",
       "      <td>69.797997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>78.417999</td>\n",
       "      <td>78.389000</td>\n",
       "      <td>78.292000</td>\n",
       "      <td>78.194000</td>\n",
       "      <td>78.306000</td>\n",
       "      <td>78.514999</td>\n",
       "      <td>78.685997</td>\n",
       "      <td>78.959999</td>\n",
       "      <td>79.287003</td>\n",
       "      <td>79.439003</td>\n",
       "      <td>79.566002</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>233 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "1                                          Afghanistan  61.806999  61.851002   \n",
       "2                                               Angola  69.514999  70.731003   \n",
       "3                                              Albania  47.077000  46.625999   \n",
       "5                                           Arab World  43.638380  44.008296   \n",
       "6                                 United Arab Emirates  80.097000  81.258003   \n",
       "7                                            Argentina  55.942001  55.935001   \n",
       "8                                              Armenia  46.380001  48.224998   \n",
       "11                                           Australia  61.886002  62.118000   \n",
       "12                                             Austria  56.797001  57.068001   \n",
       "13                                          Azerbaijan  59.834999  60.167999   \n",
       "14                                             Burundi  78.189003  77.896004   \n",
       "15                                             Belgium  49.161999  49.493000   \n",
       "16                                               Benin  70.564003  70.306000   \n",
       "17                                        Burkina Faso  68.061996  66.924004   \n",
       "18                                          Bangladesh  53.943001  54.786999   \n",
       "19                                            Bulgaria  50.625999  47.917999   \n",
       "20                                             Bahrain  70.662003  71.403999   \n",
       "21                                        Bahamas, The  64.339996  64.162003   \n",
       "22                              Bosnia and Herzegovina  36.706001  35.027000   \n",
       "23                                             Belarus  58.771000  59.200001   \n",
       "24                                              Belize  59.895000  59.395000   \n",
       "26                                             Bolivia  69.997002  70.121002   \n",
       "27                                              Brazil  60.294998  59.785000   \n",
       "28                                            Barbados  61.601002  60.736000   \n",
       "29                                   Brunei Darussalam  62.115002  61.993999   \n",
       "30                                              Bhutan  68.863998  67.508003   \n",
       "31                                            Botswana  52.959999  49.507999   \n",
       "32                            Central African Republic  67.575996  67.499001   \n",
       "33                                              Canada  61.181000  61.217999   \n",
       "34                      Central Europe and the Baltics  50.444137  50.018003   \n",
       "..                                                 ...        ...        ...   \n",
       "231                                           Thailand  72.098000  71.251999   \n",
       "232                                         Tajikistan  38.150002  38.209000   \n",
       "233                                       Turkmenistan  60.960999  61.410999   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  60.057772  60.052800   \n",
       "235                                        Timor-Leste  41.435001  40.109001   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  40.614814  40.457170   \n",
       "237                                              Tonga  59.400002  59.210999   \n",
       "238                            South Asia (IDA & IBRD)  53.879098  53.362912   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  63.505866  63.108972   \n",
       "240                                Trinidad and Tobago  61.187000  59.943001   \n",
       "241                                            Tunisia  40.147999  40.573002   \n",
       "242                                             Turkey  40.783001  42.613998   \n",
       "244                                           Tanzania  84.746002  83.710999   \n",
       "245                                             Uganda  68.206001  68.240997   \n",
       "246                                            Ukraine  50.085999  50.547001   \n",
       "247                                Upper middle income  62.271155  62.041324   \n",
       "248                                            Uruguay  60.687000  60.797001   \n",
       "249                                      United States  58.370998  57.460999   \n",
       "250                                         Uzbekistan  60.551998  60.561001   \n",
       "251                     St. Vincent and the Grenadines  54.808998  54.775002   \n",
       "252                                      Venezuela, RB  59.866001  59.327999   \n",
       "254                              Virgin Islands (U.S.)  57.178001  56.768002   \n",
       "255                                            Vietnam  74.565002  75.337997   \n",
       "256                                            Vanuatu  66.317001  66.389999   \n",
       "257                                              World  59.168059  58.917927   \n",
       "258                                              Samoa  30.860001  30.763000   \n",
       "260                                        Yemen, Rep.  34.959000  34.425999   \n",
       "261                                       South Africa  41.287998  39.431999   \n",
       "262                                             Zambia  68.977997  66.430000   \n",
       "263                                           Zimbabwe  78.417999  78.389000   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "1    62.280998  62.813999  63.213001  63.665001  64.172997  64.511002   \n",
       "2    72.132004  72.167999  72.098000  72.102997  72.181000  72.142998   \n",
       "3    48.203999  49.759998  45.139999  44.851002  46.808998  47.724998   \n",
       "5    43.697464  43.738764  43.966162  43.776550  43.476316  43.486766   \n",
       "6    81.486000  81.589996  81.748001  82.114998  82.593002  82.277000   \n",
       "7    56.470001  56.313000  56.115002  55.511002  55.551998  55.561001   \n",
       "8    49.414001  49.907001  50.924999  49.905998  48.873001  48.334000   \n",
       "11   62.222000  61.841000  61.324001  60.823002  61.103001  61.182999   \n",
       "12   57.280998  57.362999  57.210999  56.779999  56.660999  56.792999   \n",
       "13   60.523998  60.938000  61.339001  61.858002  62.264999  62.935001   \n",
       "14   77.600998  77.359001  77.124001  76.936996  77.227997  77.512001   \n",
       "15   49.283001  49.131001  48.986000  48.986000  48.911999  49.063999   \n",
       "16   68.988998  68.959000  69.030998  69.152000  69.265999  69.353996   \n",
       "17   65.844002  64.638000  63.430000  62.363998  62.251999  62.506001   \n",
       "18   54.535000  54.299999  54.044998  54.018002  53.981998  53.980000   \n",
       "19   46.618000  46.561001  46.891998  47.964001  49.227001  49.405998   \n",
       "20   70.602997  70.638000  70.649002  70.751999  70.870003  71.166000   \n",
       "21   64.078003  64.431999  62.769001  64.487999  65.722000  65.112999   \n",
       "22   34.720001  34.293999  34.318001  34.032001  33.816002  34.848000   \n",
       "23   59.506001  59.814999  60.125999  60.347000  60.473000  60.509998   \n",
       "24   59.311001  58.935001  60.034000  59.444000  59.807999  61.512001   \n",
       "26   70.224998  67.500999  67.646004  69.859001  64.989998  68.452003   \n",
       "27   59.243999  59.722000  59.742001  59.683998  58.691002  56.424000   \n",
       "28   60.268002  59.000999  59.595001  57.307999  58.216000  59.860001   \n",
       "29   61.931999  61.721001  61.487999  61.368000  60.681999  59.984001   \n",
       "30   65.779999  64.216003  64.200996  62.692001  64.973999  65.149002   \n",
       "31   53.075001  55.956001  58.236000  58.424999  58.805000  58.938000   \n",
       "32   67.487000  67.527000  67.678001  67.545998  67.464996  67.445999   \n",
       "33   61.387001  61.375999  61.487999  61.159000  61.014999  60.813999   \n",
       "34   49.911343  50.163961  50.252872  51.284345  51.989261  52.763283   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "231  72.750999  72.348999  70.299004  69.293999  68.655998  67.630997   \n",
       "232  38.318001  38.314999  38.296001  38.404999  38.578999  38.764999   \n",
       "233  61.654999  61.942001  62.213001  62.501999  62.692001  62.775002   \n",
       "234  60.081146  60.673796  60.511827  60.397636  60.123546  59.313757   \n",
       "235  39.678001  39.194000  38.741001  38.344002  38.000000  37.941002   \n",
       "236  39.963886  39.739194  40.004262  39.611611  39.337862  39.507395   \n",
       "237  59.118000  59.111000  59.195000  59.126999  58.974998  58.948002   \n",
       "238  52.608834  51.830244  51.746736  51.804255  51.775581  51.756923   \n",
       "239  63.067920  63.027748  63.053813  62.972281  62.884010  62.785203   \n",
       "240  59.511002  60.077000  60.814999  61.254002  60.587002  59.544998   \n",
       "241  38.333000  39.230999  39.681000  39.970001  39.811001  39.549000   \n",
       "242  44.498001  44.765999  45.313999  45.183998  45.785999  46.160999   \n",
       "244  82.723000  82.251999  81.781998  81.652000  81.626999  81.624001   \n",
       "245  68.403999  68.541000  69.709999  69.706001  69.685997  69.712997   \n",
       "246  50.896000  50.785000  51.567001  49.262001  49.596001  49.268002   \n",
       "247  62.053595  62.064740  61.904401  61.686587  61.484884  61.134219   \n",
       "248  61.707001  61.162998  60.695000  61.092999  60.084000  59.591999   \n",
       "249  57.379002  57.824001  57.908001  58.374001  58.743000  59.137001   \n",
       "250  61.041000  61.341999  61.597000  61.674999  61.820999  61.946999   \n",
       "251  54.896000  54.990002  55.044998  55.029999  54.618999  54.700001   \n",
       "252  60.330002  59.990002  59.456001  59.683998  59.499001  58.303001   \n",
       "254  56.299000  55.683998  55.220001  54.951000  54.723999  54.604000   \n",
       "255  75.648003  75.856003  76.598999  76.818001  76.398003  75.957001   \n",
       "256  66.265999  66.144997  66.172997  66.263000  66.681000  66.497002   \n",
       "257  58.768182  58.624153  58.535490  58.514324  58.436964  58.347254   \n",
       "258  30.371000  29.337000  29.400999  29.330000  29.232000  28.879999   \n",
       "260  33.694000  33.039001  32.430000  31.976999  32.316002  33.001999   \n",
       "261  39.410999  39.637001  40.146000  40.127998  40.902000  40.188999   \n",
       "262  68.161003  69.360001  69.389999  69.446999  69.630997  69.681999   \n",
       "263  78.292000  78.194000  78.306000  78.514999  78.685997  78.959999   \n",
       "\n",
       "          2017       2018       2019  \n",
       "1    64.858002  64.939003  65.028000  \n",
       "2    72.186996  72.039001  71.982002  \n",
       "3    48.458000  48.269001  48.127998  \n",
       "5    43.463359  43.474533  43.465509  \n",
       "6    81.292999  80.882004  80.671997  \n",
       "7    55.574001  54.757999  54.327999  \n",
       "8    48.188000  48.389000  48.463001  \n",
       "11   61.494999  61.526001  61.455002  \n",
       "12   57.039001  57.344002  57.273998  \n",
       "13   63.237000  62.872002  62.490002  \n",
       "14   77.804001  77.824997  77.810997  \n",
       "15   49.595001  49.904999  49.728001  \n",
       "16   69.580002  69.699997  69.852997  \n",
       "17   62.759998  62.598000  62.400002  \n",
       "18   56.139999  56.194000  56.216000  \n",
       "19   52.040001  52.438999  52.564999  \n",
       "20   71.735001  72.139000  72.552002  \n",
       "21   65.304001  65.720001  65.944000  \n",
       "22   37.308998  37.056000  36.787998  \n",
       "23   60.361000  60.046001  59.678001  \n",
       "24   60.924999  60.863998  60.977001  \n",
       "26   65.693001  65.680000  65.684998  \n",
       "27   55.877998  55.924000  55.988998  \n",
       "28   59.682999  59.269001  58.876999  \n",
       "29   59.304001  59.137001  58.882999  \n",
       "30   65.345001  65.495003  65.623001  \n",
       "31   59.301998  59.320999  59.358002  \n",
       "32   67.477997  67.430000  67.389000  \n",
       "33   61.306999  61.369999  61.053001  \n",
       "34   54.045934  54.366014  54.256696  \n",
       "..         ...        ...        ...  \n",
       "231  67.364998  67.056999  66.734001  \n",
       "232  38.898998  38.868000  38.806999  \n",
       "233  62.830002  62.678001  62.515999  \n",
       "234  59.230372  59.218351  59.202229  \n",
       "235  37.987999  37.818001  37.661999  \n",
       "236  39.470662  39.455406  39.377361  \n",
       "237  58.938000  58.921001  58.897999  \n",
       "238  51.982636  51.928205  51.864906  \n",
       "239  62.939882  62.954020  62.934808  \n",
       "240  59.181999  58.853001  58.497002  \n",
       "241  39.452999  39.270000  39.088001  \n",
       "242  46.908001  46.800999  46.196999  \n",
       "244  81.709000  81.586998  81.475998  \n",
       "245  69.738998  69.771004  69.806999  \n",
       "246  49.056999  48.910000  48.696999  \n",
       "247  60.984702  60.672972  60.299311  \n",
       "248  59.133999  59.209000  59.332001  \n",
       "249  59.580002  59.581001  59.359001  \n",
       "250  62.181000  62.074001  61.887001  \n",
       "251  54.872002  54.812000  54.771000  \n",
       "252  57.645000  56.992001  56.471001  \n",
       "254  54.578999  54.396999  54.195999  \n",
       "255  76.035004  75.960999  75.828003  \n",
       "256  66.651001  66.710999  66.765999  \n",
       "257  58.430395  58.320269  58.146006  \n",
       "258  28.844999  28.754999  28.598000  \n",
       "260  33.462002  33.520000  33.522999  \n",
       "261  40.400002  40.563000  40.313999  \n",
       "262  69.795998  69.765999  69.797997  \n",
       "263  79.287003  79.439003  79.566002  \n",
       "\n",
       "[233 rows x 12 columns]"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfa1 =dfa.dropna(axis=0,how='any') \n",
    "dfa1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019]"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x轴 = [int(x)for x in dfa1.columns.values[-11:]]\n",
    "x轴"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['Afghanistan', 'Angola', 'Albania', 'Arab World', 'United Arab Emirates', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaijan', 'Burundi', 'Belgium', 'Benin', 'Burkina Faso', 'Bangladesh', 'Bulgaria', 'Bahrain', 'Bahamas, The', 'Bosnia and Herzegovina', 'Belarus', 'Belize', 'Bolivia', 'Brazil', 'Barbados', 'Brunei Darussalam', 'Bhutan', 'Botswana', 'Central African Republic', 'Canada', 'Central Europe and the Baltics', 'Switzerland', 'Channel Islands', 'Chile', 'China', \"Cote d'Ivoire\", 'Cameroon', 'Congo, Dem. Rep.', 'Congo, Rep.', 'Colombia', 'Comoros', 'Cabo Verde', 'Costa Rica', 'Caribbean small states', 'Cuba', 'Cyprus', 'Czech Republic', 'Germany', 'Djibouti', 'Denmark', 'Dominican Republic', 'Algeria', 'East Asia & Pacific (excluding high income)', 'Early-demographic dividend', 'East Asia & Pacific', 'Europe & Central Asia (excluding high income)', 'Europe & Central Asia', 'Ecuador', 'Egypt, Arab Rep.', 'Euro area', 'Eritrea', 'Spain', 'Estonia', 'Ethiopia', 'European Union', 'Fragile and conflict affected situations', 'Finland', 'Fiji', 'France', 'Gabon', 'United Kingdom', 'Georgia', 'Ghana', 'Guinea', 'Gambia, The', 'Guinea-Bissau', 'Equatorial Guinea', 'Greece', 'Guatemala', 'Guam', 'Guyana', 'High income', 'Hong Kong SAR, China', 'Honduras', 'Heavily indebted poor countries (HIPC)', 'Croatia', 'Haiti', 'Hungary', 'IBRD only', 'IDA & IBRD total', 'IDA total', 'IDA blend', 'Indonesia', 'IDA only', 'India', 'Ireland', 'Iran, Islamic Rep.', 'Iraq', 'Iceland', 'Israel', 'Italy', 'Jamaica', 'Jordan', 'Japan', 'Kazakhstan', 'Kenya', 'Kyrgyz Republic', 'Cambodia', 'Korea, Rep.', 'Kuwait', 'Latin America & Caribbean (excluding high income)', 'Lao PDR', 'Lebanon', 'Liberia', 'Libya', 'St. Lucia', 'Latin America & Caribbean', 'Least developed countries: UN classification', 'Low income', 'Sri Lanka', 'Lower middle income', 'Low & middle income', 'Lesotho', 'Late-demographic dividend', 'Lithuania', 'Luxembourg', 'Latvia', 'Macao SAR, China', 'Morocco', 'Moldova', 'Madagascar', 'Maldives', 'Middle East & North Africa', 'Mexico', 'Middle income', 'North Macedonia', 'Mali', 'Malta', 'Myanmar', 'Middle East & North Africa (excluding high income)', 'Montenegro', 'Mongolia', 'Mozambique', 'Mauritania', 'Mauritius', 'Malawi', 'Malaysia', 'North America', 'Namibia', 'New Caledonia', 'Niger', 'Nigeria', 'Nicaragua', 'Netherlands', 'Norway', 'Nepal', 'New Zealand', 'OECD members', 'Oman', 'Other small states', 'Pakistan', 'Panama', 'Peru', 'Philippines', 'Papua New Guinea', 'Poland', 'Pre-demographic dividend', 'Puerto Rico', 'Korea, Dem. People’s Rep.', 'Portugal', 'Paraguay', 'West Bank and Gaza', 'Pacific island small states', 'Post-demographic dividend', 'French Polynesia', 'Qatar', 'Romania', 'Russian Federation', 'Rwanda', 'South Asia', 'Saudi Arabia', 'Sudan', 'Senegal', 'Singapore', 'Solomon Islands', 'Sierra Leone', 'El Salvador', 'Somalia', 'Serbia', 'Sub-Saharan Africa (excluding high income)', 'South Sudan', 'Sub-Saharan Africa', 'Small states', 'Sao Tome and Principe', 'Suriname', 'Slovak Republic', 'Slovenia', 'Sweden', 'Eswatini', 'Syrian Arab Republic', 'Chad', 'East Asia & Pacific (IDA & IBRD countries)', 'Europe & Central Asia (IDA & IBRD countries)', 'Togo', 'Thailand', 'Tajikistan', 'Turkmenistan', 'Latin America & the Caribbean (IDA & IBRD countries)', 'Timor-Leste', 'Middle East & North Africa (IDA & IBRD countries)', 'Tonga', 'South Asia (IDA & IBRD)', 'Sub-Saharan Africa (IDA & IBRD countries)', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Tanzania', 'Uganda', 'Ukraine', 'Upper middle income', 'Uruguay', 'United States', 'Uzbekistan', 'St. Vincent and the Grenadines', 'Venezuela, RB', 'Virgin Islands (U.S.)', 'Vietnam', 'Vanuatu', 'World', 'Samoa', 'Yemen, Rep.', 'South Africa', 'Zambia', 'Zimbabwe']\n"
     ]
    }
   ],
   "source": [
    "dfa2=print(list(dfa1.country))\n",
    "dfa2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[('Afghanistan',), ('Angola',), ('Albania',), ('Arab World',), ('United Arab Emirates',), ('Argentina',), ('Armenia',), ('Australia',), ('Austria',), ('Azerbaijan',), ('Burundi',), ('Belgium',), ('Benin',), ('Burkina Faso',), ('Bangladesh',), ('Bulgaria',), ('Bahrain',), ('Bahamas, The',), ('Bosnia and Herzegovina',), ('Belarus',), ('Belize',), ('Bolivia',), ('Brazil',), ('Barbados',), ('Brunei Darussalam',), ('Bhutan',), ('Botswana',), ('Central African Republic',), ('Canada',), ('Central Europe and the Baltics',), ('Switzerland',), ('Channel Islands',), ('Chile',), ('China',), (\"Cote d'Ivoire\",), ('Cameroon',), ('Congo, Dem. Rep.',), ('Congo, Rep.',), ('Colombia',), ('Comoros',), ('Cabo Verde',), ('Costa Rica',), ('Caribbean small states',), ('Cuba',), ('Cyprus',), ('Czech Republic',), ('Germany',), ('Djibouti',), ('Denmark',), ('Dominican Republic',), ('Algeria',), ('East Asia & Pacific (excluding high income)',), ('Early-demographic dividend',), ('East Asia & Pacific',), ('Europe & Central Asia (excluding high income)',), ('Europe & Central Asia',), ('Ecuador',), ('Egypt, Arab Rep.',), ('Euro area',), ('Eritrea',), ('Spain',), ('Estonia',), ('Ethiopia',), ('European Union',), ('Fragile and conflict affected situations',), ('Finland',), ('Fiji',), ('France',), ('Gabon',), ('United Kingdom',), ('Georgia',), ('Ghana',), ('Guinea',), ('Gambia, The',), ('Guinea-Bissau',), ('Equatorial Guinea',), ('Greece',), ('Guatemala',), ('Guam',), ('Guyana',), ('High income',), ('Hong Kong SAR, China',), ('Honduras',), ('Heavily indebted poor countries (HIPC)',), ('Croatia',), ('Haiti',), ('Hungary',), ('IBRD only',), ('IDA & IBRD total',), ('IDA total',), ('IDA blend',), ('Indonesia',), ('IDA only',), ('India',), ('Ireland',), ('Iran, Islamic Rep.',), ('Iraq',), ('Iceland',), ('Israel',), ('Italy',), ('Jamaica',), ('Jordan',), ('Japan',), ('Kazakhstan',), ('Kenya',), ('Kyrgyz Republic',), ('Cambodia',), ('Korea, Rep.',), ('Kuwait',), ('Latin America & Caribbean (excluding high income)',), ('Lao PDR',), ('Lebanon',), ('Liberia',), ('Libya',), ('St. Lucia',), ('Latin America & Caribbean',), ('Least developed countries: UN classification',), ('Low income',), ('Sri Lanka',), ('Lower middle income',), ('Low & middle income',), ('Lesotho',), ('Late-demographic dividend',), ('Lithuania',), ('Luxembourg',), ('Latvia',), ('Macao SAR, China',), ('Morocco',), ('Moldova',), ('Madagascar',), ('Maldives',), ('Middle East & North Africa',), ('Mexico',), ('Middle income',), ('North Macedonia',), ('Mali',), ('Malta',), ('Myanmar',), ('Middle East & North Africa (excluding high income)',), ('Montenegro',), ('Mongolia',), ('Mozambique',), ('Mauritania',), ('Mauritius',), ('Malawi',), ('Malaysia',), ('North America',), ('Namibia',), ('New Caledonia',), ('Niger',), ('Nigeria',), ('Nicaragua',), ('Netherlands',), ('Norway',), ('Nepal',), ('New Zealand',), ('OECD members',), ('Oman',), ('Other small states',), ('Pakistan',), ('Panama',), ('Peru',), ('Philippines',), ('Papua New Guinea',), ('Poland',), ('Pre-demographic dividend',), ('Puerto Rico',), ('Korea, Dem. People’s Rep.',), ('Portugal',), ('Paraguay',), ('West Bank and Gaza',), ('Pacific island small states',), ('Post-demographic dividend',), ('French Polynesia',), ('Qatar',), ('Romania',), ('Russian Federation',), ('Rwanda',), ('South Asia',), ('Saudi Arabia',), ('Sudan',), ('Senegal',), ('Singapore',), ('Solomon Islands',), ('Sierra Leone',), ('El Salvador',), ('Somalia',), ('Serbia',), ('Sub-Saharan Africa (excluding high income)',), ('South Sudan',), ('Sub-Saharan Africa',), ('Small states',), ('Sao Tome and Principe',), ('Suriname',), ('Slovak Republic',), ('Slovenia',), ('Sweden',), ('Eswatini',), ('Syrian Arab Republic',), ('Chad',), ('East Asia & Pacific (IDA & IBRD countries)',), ('Europe & Central Asia (IDA & IBRD countries)',), ('Togo',), ('Thailand',), ('Tajikistan',), ('Turkmenistan',), ('Latin America & the Caribbean (IDA & IBRD countries)',), ('Timor-Leste',), ('Middle East & North Africa (IDA & IBRD countries)',), ('Tonga',), ('South Asia (IDA & IBRD)',), ('Sub-Saharan Africa (IDA & IBRD countries)',), ('Trinidad and Tobago',), ('Tunisia',), ('Turkey',), ('Tanzania',), ('Uganda',), ('Ukraine',), ('Upper middle income',), ('Uruguay',), ('United States',), ('Uzbekistan',), ('St. Vincent and the Grenadines',), ('Venezuela, RB',), ('Virgin Islands (U.S.)',), ('Vietnam',), ('Vanuatu',), ('World',), ('Samoa',), ('Yemen, Rep.',), ('South Africa',), ('Zambia',), ('Zimbabwe',)]\n",
      "<class 'list'>\n"
     ]
    }
   ],
   "source": [
    "总就业人口比率= list(zip(list(dfa1.country)))\n",
    "print(总就业人口比率)\n",
    "print(type(总就业人口比率))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 男性劳动力劳动参与率"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据清洗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [],
   "source": [
    "dfb = pd.read_csv('Labor_force_participation_rate_male.csv',encoding = 'utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>82.833000</td>\n",
       "      <td>82.704002</td>\n",
       "      <td>82.594002</td>\n",
       "      <td>82.482002</td>\n",
       "      <td>82.386002</td>\n",
       "      <td>82.322998</td>\n",
       "      <td>82.297997</td>\n",
       "      <td>82.207001</td>\n",
       "      <td>82.148003</td>\n",
       "      <td>82.134003</td>\n",
       "      <td>82.127998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>80.443001</td>\n",
       "      <td>80.464996</td>\n",
       "      <td>80.555000</td>\n",
       "      <td>80.582001</td>\n",
       "      <td>80.545998</td>\n",
       "      <td>80.478996</td>\n",
       "      <td>80.378998</td>\n",
       "      <td>80.306000</td>\n",
       "      <td>80.179001</td>\n",
       "      <td>80.086998</td>\n",
       "      <td>79.988998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>64.292000</td>\n",
       "      <td>62.984001</td>\n",
       "      <td>64.411003</td>\n",
       "      <td>66.116997</td>\n",
       "      <td>62.646000</td>\n",
       "      <td>63.882000</td>\n",
       "      <td>65.161003</td>\n",
       "      <td>65.060997</td>\n",
       "      <td>64.996002</td>\n",
       "      <td>64.882004</td>\n",
       "      <td>64.751999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>74.126656</td>\n",
       "      <td>74.627098</td>\n",
       "      <td>74.694286</td>\n",
       "      <td>74.776017</td>\n",
       "      <td>74.946682</td>\n",
       "      <td>74.582973</td>\n",
       "      <td>74.100492</td>\n",
       "      <td>73.748193</td>\n",
       "      <td>73.710772</td>\n",
       "      <td>73.699053</td>\n",
       "      <td>73.674687</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>93.607002</td>\n",
       "      <td>94.542000</td>\n",
       "      <td>94.360001</td>\n",
       "      <td>94.234001</td>\n",
       "      <td>94.231003</td>\n",
       "      <td>94.402000</td>\n",
       "      <td>94.709999</td>\n",
       "      <td>94.063004</td>\n",
       "      <td>93.542999</td>\n",
       "      <td>93.367996</td>\n",
       "      <td>93.407997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>74.560997</td>\n",
       "      <td>74.322998</td>\n",
       "      <td>74.501999</td>\n",
       "      <td>74.102997</td>\n",
       "      <td>73.924004</td>\n",
       "      <td>73.474998</td>\n",
       "      <td>73.350998</td>\n",
       "      <td>73.167000</td>\n",
       "      <td>72.960999</td>\n",
       "      <td>72.821999</td>\n",
       "      <td>72.689003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>67.695999</td>\n",
       "      <td>71.616997</td>\n",
       "      <td>70.896004</td>\n",
       "      <td>70.514999</td>\n",
       "      <td>70.569000</td>\n",
       "      <td>70.786003</td>\n",
       "      <td>70.163002</td>\n",
       "      <td>69.750999</td>\n",
       "      <td>69.702003</td>\n",
       "      <td>69.866997</td>\n",
       "      <td>69.931999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>American Samoa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>72.331001</td>\n",
       "      <td>72.450996</td>\n",
       "      <td>72.246002</td>\n",
       "      <td>71.772003</td>\n",
       "      <td>71.412003</td>\n",
       "      <td>70.987000</td>\n",
       "      <td>71.140999</td>\n",
       "      <td>70.651001</td>\n",
       "      <td>70.702003</td>\n",
       "      <td>70.530998</td>\n",
       "      <td>70.349998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>67.058998</td>\n",
       "      <td>66.863998</td>\n",
       "      <td>66.624001</td>\n",
       "      <td>66.648003</td>\n",
       "      <td>66.641998</td>\n",
       "      <td>66.101997</td>\n",
       "      <td>65.992996</td>\n",
       "      <td>66.222000</td>\n",
       "      <td>66.153000</td>\n",
       "      <td>65.917999</td>\n",
       "      <td>65.648003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>67.598000</td>\n",
       "      <td>67.523003</td>\n",
       "      <td>67.372002</td>\n",
       "      <td>67.639000</td>\n",
       "      <td>67.963997</td>\n",
       "      <td>68.362000</td>\n",
       "      <td>68.681999</td>\n",
       "      <td>69.713997</td>\n",
       "      <td>70.044998</td>\n",
       "      <td>69.723000</td>\n",
       "      <td>69.351997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>78.570000</td>\n",
       "      <td>78.239998</td>\n",
       "      <td>77.814003</td>\n",
       "      <td>77.421997</td>\n",
       "      <td>77.046997</td>\n",
       "      <td>76.667999</td>\n",
       "      <td>77.026001</td>\n",
       "      <td>77.329002</td>\n",
       "      <td>77.612999</td>\n",
       "      <td>77.637001</td>\n",
       "      <td>77.606003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>60.375000</td>\n",
       "      <td>60.792999</td>\n",
       "      <td>59.674000</td>\n",
       "      <td>59.722000</td>\n",
       "      <td>59.706001</td>\n",
       "      <td>59.382999</td>\n",
       "      <td>59.144001</td>\n",
       "      <td>58.963001</td>\n",
       "      <td>59.109001</td>\n",
       "      <td>58.877998</td>\n",
       "      <td>58.632999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>73.682999</td>\n",
       "      <td>72.950996</td>\n",
       "      <td>73.764000</td>\n",
       "      <td>73.699997</td>\n",
       "      <td>73.593002</td>\n",
       "      <td>73.487000</td>\n",
       "      <td>73.429001</td>\n",
       "      <td>73.383003</td>\n",
       "      <td>73.307999</td>\n",
       "      <td>73.309998</td>\n",
       "      <td>73.313004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>83.025002</td>\n",
       "      <td>81.705002</td>\n",
       "      <td>80.305000</td>\n",
       "      <td>78.813004</td>\n",
       "      <td>77.223999</td>\n",
       "      <td>75.532997</td>\n",
       "      <td>75.455002</td>\n",
       "      <td>75.362999</td>\n",
       "      <td>75.249001</td>\n",
       "      <td>75.109001</td>\n",
       "      <td>74.961998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>83.700996</td>\n",
       "      <td>83.147003</td>\n",
       "      <td>82.599998</td>\n",
       "      <td>82.049004</td>\n",
       "      <td>81.492996</td>\n",
       "      <td>80.932999</td>\n",
       "      <td>80.369003</td>\n",
       "      <td>79.805000</td>\n",
       "      <td>81.411003</td>\n",
       "      <td>81.317001</td>\n",
       "      <td>81.219002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>61.018002</td>\n",
       "      <td>59.528000</td>\n",
       "      <td>58.233002</td>\n",
       "      <td>58.702999</td>\n",
       "      <td>59.590000</td>\n",
       "      <td>60.085999</td>\n",
       "      <td>60.147999</td>\n",
       "      <td>59.581001</td>\n",
       "      <td>61.740002</td>\n",
       "      <td>61.623001</td>\n",
       "      <td>61.487999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>86.857002</td>\n",
       "      <td>87.386002</td>\n",
       "      <td>86.647003</td>\n",
       "      <td>86.848999</td>\n",
       "      <td>86.981003</td>\n",
       "      <td>87.058998</td>\n",
       "      <td>86.995003</td>\n",
       "      <td>86.945000</td>\n",
       "      <td>87.128998</td>\n",
       "      <td>87.249001</td>\n",
       "      <td>87.447998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>81.885002</td>\n",
       "      <td>81.862000</td>\n",
       "      <td>81.820000</td>\n",
       "      <td>81.697998</td>\n",
       "      <td>81.776001</td>\n",
       "      <td>81.896004</td>\n",
       "      <td>82.094002</td>\n",
       "      <td>82.113998</td>\n",
       "      <td>82.003998</td>\n",
       "      <td>82.011002</td>\n",
       "      <td>81.953003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>60.071999</td>\n",
       "      <td>59.925999</td>\n",
       "      <td>59.665001</td>\n",
       "      <td>59.339001</td>\n",
       "      <td>58.938000</td>\n",
       "      <td>58.534000</td>\n",
       "      <td>58.418999</td>\n",
       "      <td>58.800999</td>\n",
       "      <td>58.698002</td>\n",
       "      <td>58.585999</td>\n",
       "      <td>58.455002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>69.061996</td>\n",
       "      <td>69.551002</td>\n",
       "      <td>69.904999</td>\n",
       "      <td>70.246002</td>\n",
       "      <td>70.556000</td>\n",
       "      <td>70.807999</td>\n",
       "      <td>70.997002</td>\n",
       "      <td>70.949997</td>\n",
       "      <td>70.649002</td>\n",
       "      <td>70.325996</td>\n",
       "      <td>69.961998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>82.633003</td>\n",
       "      <td>82.670998</td>\n",
       "      <td>82.917000</td>\n",
       "      <td>83.172997</td>\n",
       "      <td>82.516998</td>\n",
       "      <td>81.783997</td>\n",
       "      <td>80.948998</td>\n",
       "      <td>81.138000</td>\n",
       "      <td>81.321999</td>\n",
       "      <td>81.399002</td>\n",
       "      <td>81.494003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>81.861000</td>\n",
       "      <td>82.045998</td>\n",
       "      <td>82.106003</td>\n",
       "      <td>80.013000</td>\n",
       "      <td>79.917999</td>\n",
       "      <td>81.809998</td>\n",
       "      <td>79.745003</td>\n",
       "      <td>81.036003</td>\n",
       "      <td>79.345001</td>\n",
       "      <td>79.349998</td>\n",
       "      <td>79.359001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>77.447998</td>\n",
       "      <td>76.612000</td>\n",
       "      <td>75.746002</td>\n",
       "      <td>76.242996</td>\n",
       "      <td>76.102997</td>\n",
       "      <td>75.657997</td>\n",
       "      <td>75.421997</td>\n",
       "      <td>74.945000</td>\n",
       "      <td>74.600998</td>\n",
       "      <td>74.431000</td>\n",
       "      <td>74.253998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>73.880997</td>\n",
       "      <td>73.052002</td>\n",
       "      <td>72.973999</td>\n",
       "      <td>71.963997</td>\n",
       "      <td>72.018997</td>\n",
       "      <td>69.049004</td>\n",
       "      <td>69.941002</td>\n",
       "      <td>70.496002</td>\n",
       "      <td>70.095001</td>\n",
       "      <td>69.633003</td>\n",
       "      <td>69.156998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>75.511002</td>\n",
       "      <td>75.297997</td>\n",
       "      <td>75.002998</td>\n",
       "      <td>74.598000</td>\n",
       "      <td>74.114998</td>\n",
       "      <td>73.607002</td>\n",
       "      <td>73.094002</td>\n",
       "      <td>72.564003</td>\n",
       "      <td>72.016998</td>\n",
       "      <td>71.670998</td>\n",
       "      <td>71.304001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>79.019605</td>\n",
       "      <td>78.613943</td>\n",
       "      <td>78.249530</td>\n",
       "      <td>78.523680</td>\n",
       "      <td>78.212596</td>\n",
       "      <td>78.010498</td>\n",
       "      <td>77.894562</td>\n",
       "      <td>77.563643</td>\n",
       "      <td>77.478158</td>\n",
       "      <td>77.393846</td>\n",
       "      <td>77.303395</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>58.056000</td>\n",
       "      <td>56.160000</td>\n",
       "      <td>55.471001</td>\n",
       "      <td>54.772999</td>\n",
       "      <td>54.130001</td>\n",
       "      <td>53.507000</td>\n",
       "      <td>53.019001</td>\n",
       "      <td>52.714001</td>\n",
       "      <td>52.756001</td>\n",
       "      <td>52.605000</td>\n",
       "      <td>52.476002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>72.165194</td>\n",
       "      <td>72.294814</td>\n",
       "      <td>72.247723</td>\n",
       "      <td>72.172147</td>\n",
       "      <td>72.184825</td>\n",
       "      <td>71.666920</td>\n",
       "      <td>71.296166</td>\n",
       "      <td>71.315891</td>\n",
       "      <td>71.260589</td>\n",
       "      <td>71.172893</td>\n",
       "      <td>71.030007</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>75.348999</td>\n",
       "      <td>75.101997</td>\n",
       "      <td>74.901001</td>\n",
       "      <td>74.819000</td>\n",
       "      <td>74.943001</td>\n",
       "      <td>74.772003</td>\n",
       "      <td>74.473000</td>\n",
       "      <td>74.329002</td>\n",
       "      <td>74.189003</td>\n",
       "      <td>74.138000</td>\n",
       "      <td>74.084999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>81.394423</td>\n",
       "      <td>80.919256</td>\n",
       "      <td>80.471577</td>\n",
       "      <td>80.107659</td>\n",
       "      <td>79.993113</td>\n",
       "      <td>79.737364</td>\n",
       "      <td>79.616848</td>\n",
       "      <td>79.342473</td>\n",
       "      <td>79.254324</td>\n",
       "      <td>79.210024</td>\n",
       "      <td>79.167037</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>74.350499</td>\n",
       "      <td>73.953413</td>\n",
       "      <td>73.696258</td>\n",
       "      <td>73.481620</td>\n",
       "      <td>73.306175</td>\n",
       "      <td>73.111042</td>\n",
       "      <td>73.024325</td>\n",
       "      <td>72.951749</td>\n",
       "      <td>72.877351</td>\n",
       "      <td>72.848077</td>\n",
       "      <td>72.815799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>75.732002</td>\n",
       "      <td>73.941002</td>\n",
       "      <td>73.046997</td>\n",
       "      <td>73.195999</td>\n",
       "      <td>73.196999</td>\n",
       "      <td>73.450996</td>\n",
       "      <td>73.525002</td>\n",
       "      <td>71.970001</td>\n",
       "      <td>71.758003</td>\n",
       "      <td>71.268997</td>\n",
       "      <td>70.736000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>68.974998</td>\n",
       "      <td>69.667999</td>\n",
       "      <td>70.295998</td>\n",
       "      <td>70.920998</td>\n",
       "      <td>70.210999</td>\n",
       "      <td>70.170998</td>\n",
       "      <td>70.216003</td>\n",
       "      <td>70.197998</td>\n",
       "      <td>70.068001</td>\n",
       "      <td>69.882004</td>\n",
       "      <td>69.650002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>69.098999</td>\n",
       "      <td>69.640999</td>\n",
       "      <td>70.519997</td>\n",
       "      <td>69.820000</td>\n",
       "      <td>70.397003</td>\n",
       "      <td>71.241997</td>\n",
       "      <td>71.707001</td>\n",
       "      <td>72.162003</td>\n",
       "      <td>72.695000</td>\n",
       "      <td>72.553001</td>\n",
       "      <td>72.397003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>Tuvalu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>89.172997</td>\n",
       "      <td>88.894997</td>\n",
       "      <td>88.595001</td>\n",
       "      <td>88.265999</td>\n",
       "      <td>87.906998</td>\n",
       "      <td>87.519997</td>\n",
       "      <td>87.442001</td>\n",
       "      <td>87.366997</td>\n",
       "      <td>87.264000</td>\n",
       "      <td>87.195999</td>\n",
       "      <td>87.123001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>76.040001</td>\n",
       "      <td>76.028000</td>\n",
       "      <td>76.026001</td>\n",
       "      <td>76.028000</td>\n",
       "      <td>75.884003</td>\n",
       "      <td>75.681999</td>\n",
       "      <td>75.441002</td>\n",
       "      <td>75.232002</td>\n",
       "      <td>74.987000</td>\n",
       "      <td>74.996002</td>\n",
       "      <td>75.009003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>62.778000</td>\n",
       "      <td>62.964001</td>\n",
       "      <td>63.681999</td>\n",
       "      <td>63.909000</td>\n",
       "      <td>64.219002</td>\n",
       "      <td>63.063999</td>\n",
       "      <td>63.316002</td>\n",
       "      <td>63.141998</td>\n",
       "      <td>63.007999</td>\n",
       "      <td>62.794998</td>\n",
       "      <td>62.530998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>76.546208</td>\n",
       "      <td>76.217867</td>\n",
       "      <td>76.078794</td>\n",
       "      <td>76.056077</td>\n",
       "      <td>75.887011</td>\n",
       "      <td>75.695038</td>\n",
       "      <td>75.590244</td>\n",
       "      <td>75.362400</td>\n",
       "      <td>75.184513</td>\n",
       "      <td>74.897814</td>\n",
       "      <td>74.577476</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>77.057999</td>\n",
       "      <td>76.749001</td>\n",
       "      <td>76.822998</td>\n",
       "      <td>76.012001</td>\n",
       "      <td>75.837997</td>\n",
       "      <td>75.781998</td>\n",
       "      <td>75.139999</td>\n",
       "      <td>74.302002</td>\n",
       "      <td>73.681999</td>\n",
       "      <td>73.752998</td>\n",
       "      <td>73.818001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>70.774002</td>\n",
       "      <td>69.931999</td>\n",
       "      <td>69.361000</td>\n",
       "      <td>69.349998</td>\n",
       "      <td>68.990997</td>\n",
       "      <td>68.544998</td>\n",
       "      <td>68.432999</td>\n",
       "      <td>68.560997</td>\n",
       "      <td>68.487000</td>\n",
       "      <td>68.205002</td>\n",
       "      <td>67.925003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>75.336998</td>\n",
       "      <td>75.646004</td>\n",
       "      <td>75.978996</td>\n",
       "      <td>76.355003</td>\n",
       "      <td>76.744003</td>\n",
       "      <td>77.105003</td>\n",
       "      <td>77.410004</td>\n",
       "      <td>77.641998</td>\n",
       "      <td>77.834999</td>\n",
       "      <td>77.963997</td>\n",
       "      <td>78.009003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>79.929001</td>\n",
       "      <td>80.147003</td>\n",
       "      <td>80.172997</td>\n",
       "      <td>80.074997</td>\n",
       "      <td>79.940002</td>\n",
       "      <td>79.795998</td>\n",
       "      <td>79.625999</td>\n",
       "      <td>79.472000</td>\n",
       "      <td>79.356003</td>\n",
       "      <td>79.181000</td>\n",
       "      <td>78.969002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>79.424004</td>\n",
       "      <td>79.315002</td>\n",
       "      <td>78.944000</td>\n",
       "      <td>78.223000</td>\n",
       "      <td>78.196999</td>\n",
       "      <td>78.120003</td>\n",
       "      <td>77.983002</td>\n",
       "      <td>77.661003</td>\n",
       "      <td>77.292000</td>\n",
       "      <td>77.112000</td>\n",
       "      <td>76.913002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>British Virgin Islands</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>68.315002</td>\n",
       "      <td>67.819000</td>\n",
       "      <td>67.162003</td>\n",
       "      <td>66.700996</td>\n",
       "      <td>66.061996</td>\n",
       "      <td>65.449997</td>\n",
       "      <td>64.878998</td>\n",
       "      <td>64.431000</td>\n",
       "      <td>64.002998</td>\n",
       "      <td>63.675999</td>\n",
       "      <td>63.342999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>80.625000</td>\n",
       "      <td>81.343002</td>\n",
       "      <td>81.639999</td>\n",
       "      <td>81.577003</td>\n",
       "      <td>82.499001</td>\n",
       "      <td>82.651001</td>\n",
       "      <td>83.015999</td>\n",
       "      <td>82.400002</td>\n",
       "      <td>82.563004</td>\n",
       "      <td>82.467003</td>\n",
       "      <td>82.308998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>79.221001</td>\n",
       "      <td>79.517998</td>\n",
       "      <td>79.570999</td>\n",
       "      <td>79.527000</td>\n",
       "      <td>79.466003</td>\n",
       "      <td>79.443001</td>\n",
       "      <td>79.647003</td>\n",
       "      <td>79.563004</td>\n",
       "      <td>79.532997</td>\n",
       "      <td>79.624001</td>\n",
       "      <td>79.710999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>76.322679</td>\n",
       "      <td>76.038789</td>\n",
       "      <td>75.862108</td>\n",
       "      <td>75.766834</td>\n",
       "      <td>75.629981</td>\n",
       "      <td>75.452084</td>\n",
       "      <td>75.328353</td>\n",
       "      <td>75.132452</td>\n",
       "      <td>75.025377</td>\n",
       "      <td>74.870419</td>\n",
       "      <td>74.701880</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>40.414001</td>\n",
       "      <td>40.368000</td>\n",
       "      <td>39.792000</td>\n",
       "      <td>39.744999</td>\n",
       "      <td>39.926998</td>\n",
       "      <td>39.787998</td>\n",
       "      <td>39.596001</td>\n",
       "      <td>38.950001</td>\n",
       "      <td>38.745998</td>\n",
       "      <td>38.624001</td>\n",
       "      <td>38.465000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>Kosovo</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>68.921997</td>\n",
       "      <td>68.796997</td>\n",
       "      <td>68.447998</td>\n",
       "      <td>68.153000</td>\n",
       "      <td>67.883003</td>\n",
       "      <td>67.599998</td>\n",
       "      <td>68.839996</td>\n",
       "      <td>69.986000</td>\n",
       "      <td>70.723999</td>\n",
       "      <td>70.809998</td>\n",
       "      <td>70.873001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>62.176998</td>\n",
       "      <td>60.452999</td>\n",
       "      <td>59.838001</td>\n",
       "      <td>60.334999</td>\n",
       "      <td>60.462002</td>\n",
       "      <td>60.654999</td>\n",
       "      <td>61.902000</td>\n",
       "      <td>62.050999</td>\n",
       "      <td>62.667000</td>\n",
       "      <td>62.630001</td>\n",
       "      <td>62.590000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>82.995003</td>\n",
       "      <td>82.230003</td>\n",
       "      <td>81.499001</td>\n",
       "      <td>80.740997</td>\n",
       "      <td>80.582001</td>\n",
       "      <td>80.402000</td>\n",
       "      <td>80.216003</td>\n",
       "      <td>80.057999</td>\n",
       "      <td>79.878998</td>\n",
       "      <td>79.795998</td>\n",
       "      <td>79.728996</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>88.370003</td>\n",
       "      <td>88.401001</td>\n",
       "      <td>88.496002</td>\n",
       "      <td>88.551002</td>\n",
       "      <td>88.668999</td>\n",
       "      <td>88.790001</td>\n",
       "      <td>88.873001</td>\n",
       "      <td>88.938004</td>\n",
       "      <td>88.920998</td>\n",
       "      <td>88.992996</td>\n",
       "      <td>89.049004</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "0                                                Aruba        NaN        NaN   \n",
       "1                                          Afghanistan  82.833000  82.704002   \n",
       "2                                               Angola  80.443001  80.464996   \n",
       "3                                              Albania  64.292000  62.984001   \n",
       "4                                              Andorra        NaN        NaN   \n",
       "5                                           Arab World  74.126656  74.627098   \n",
       "6                                 United Arab Emirates  93.607002  94.542000   \n",
       "7                                            Argentina  74.560997  74.322998   \n",
       "8                                              Armenia  67.695999  71.616997   \n",
       "9                                       American Samoa        NaN        NaN   \n",
       "10                                 Antigua and Barbuda        NaN        NaN   \n",
       "11                                           Australia  72.331001  72.450996   \n",
       "12                                             Austria  67.058998  66.863998   \n",
       "13                                          Azerbaijan  67.598000  67.523003   \n",
       "14                                             Burundi  78.570000  78.239998   \n",
       "15                                             Belgium  60.375000  60.792999   \n",
       "16                                               Benin  73.682999  72.950996   \n",
       "17                                        Burkina Faso  83.025002  81.705002   \n",
       "18                                          Bangladesh  83.700996  83.147003   \n",
       "19                                            Bulgaria  61.018002  59.528000   \n",
       "20                                             Bahrain  86.857002  87.386002   \n",
       "21                                        Bahamas, The  81.885002  81.862000   \n",
       "22                              Bosnia and Herzegovina  60.071999  59.925999   \n",
       "23                                             Belarus  69.061996  69.551002   \n",
       "24                                              Belize  82.633003  82.670998   \n",
       "25                                             Bermuda        NaN        NaN   \n",
       "26                                             Bolivia  81.861000  82.045998   \n",
       "27                                              Brazil  77.447998  76.612000   \n",
       "28                                            Barbados  73.880997  73.052002   \n",
       "29                                   Brunei Darussalam  75.511002  75.297997   \n",
       "..                                                 ...        ...        ...   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  79.019605  78.613943   \n",
       "235                                        Timor-Leste  58.056000  56.160000   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  72.165194  72.294814   \n",
       "237                                              Tonga  75.348999  75.101997   \n",
       "238                            South Asia (IDA & IBRD)  81.394423  80.919256   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  74.350499  73.953413   \n",
       "240                                Trinidad and Tobago  75.732002  73.941002   \n",
       "241                                            Tunisia  68.974998  69.667999   \n",
       "242                                             Turkey  69.098999  69.640999   \n",
       "243                                             Tuvalu        NaN        NaN   \n",
       "244                                           Tanzania  89.172997  88.894997   \n",
       "245                                             Uganda  76.040001  76.028000   \n",
       "246                                            Ukraine  62.778000  62.964001   \n",
       "247                                Upper middle income  76.546208  76.217867   \n",
       "248                                            Uruguay  77.057999  76.749001   \n",
       "249                                      United States  70.774002  69.931999   \n",
       "250                                         Uzbekistan  75.336998  75.646004   \n",
       "251                     St. Vincent and the Grenadines  79.929001  80.147003   \n",
       "252                                      Venezuela, RB  79.424004  79.315002   \n",
       "253                             British Virgin Islands        NaN        NaN   \n",
       "254                              Virgin Islands (U.S.)  68.315002  67.819000   \n",
       "255                                            Vietnam  80.625000  81.343002   \n",
       "256                                            Vanuatu  79.221001  79.517998   \n",
       "257                                              World  76.322679  76.038789   \n",
       "258                                              Samoa  40.414001  40.368000   \n",
       "259                                             Kosovo        NaN        NaN   \n",
       "260                                        Yemen, Rep.  68.921997  68.796997   \n",
       "261                                       South Africa  62.176998  60.452999   \n",
       "262                                             Zambia  82.995003  82.230003   \n",
       "263                                           Zimbabwe  88.370003  88.401001   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "0          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "1    82.594002  82.482002  82.386002  82.322998  82.297997  82.207001   \n",
       "2    80.555000  80.582001  80.545998  80.478996  80.378998  80.306000   \n",
       "3    64.411003  66.116997  62.646000  63.882000  65.161003  65.060997   \n",
       "4          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "5    74.694286  74.776017  74.946682  74.582973  74.100492  73.748193   \n",
       "6    94.360001  94.234001  94.231003  94.402000  94.709999  94.063004   \n",
       "7    74.501999  74.102997  73.924004  73.474998  73.350998  73.167000   \n",
       "8    70.896004  70.514999  70.569000  70.786003  70.163002  69.750999   \n",
       "9          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "10         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "11   72.246002  71.772003  71.412003  70.987000  71.140999  70.651001   \n",
       "12   66.624001  66.648003  66.641998  66.101997  65.992996  66.222000   \n",
       "13   67.372002  67.639000  67.963997  68.362000  68.681999  69.713997   \n",
       "14   77.814003  77.421997  77.046997  76.667999  77.026001  77.329002   \n",
       "15   59.674000  59.722000  59.706001  59.382999  59.144001  58.963001   \n",
       "16   73.764000  73.699997  73.593002  73.487000  73.429001  73.383003   \n",
       "17   80.305000  78.813004  77.223999  75.532997  75.455002  75.362999   \n",
       "18   82.599998  82.049004  81.492996  80.932999  80.369003  79.805000   \n",
       "19   58.233002  58.702999  59.590000  60.085999  60.147999  59.581001   \n",
       "20   86.647003  86.848999  86.981003  87.058998  86.995003  86.945000   \n",
       "21   81.820000  81.697998  81.776001  81.896004  82.094002  82.113998   \n",
       "22   59.665001  59.339001  58.938000  58.534000  58.418999  58.800999   \n",
       "23   69.904999  70.246002  70.556000  70.807999  70.997002  70.949997   \n",
       "24   82.917000  83.172997  82.516998  81.783997  80.948998  81.138000   \n",
       "25         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "26   82.106003  80.013000  79.917999  81.809998  79.745003  81.036003   \n",
       "27   75.746002  76.242996  76.102997  75.657997  75.421997  74.945000   \n",
       "28   72.973999  71.963997  72.018997  69.049004  69.941002  70.496002   \n",
       "29   75.002998  74.598000  74.114998  73.607002  73.094002  72.564003   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "234  78.249530  78.523680  78.212596  78.010498  77.894562  77.563643   \n",
       "235  55.471001  54.772999  54.130001  53.507000  53.019001  52.714001   \n",
       "236  72.247723  72.172147  72.184825  71.666920  71.296166  71.315891   \n",
       "237  74.901001  74.819000  74.943001  74.772003  74.473000  74.329002   \n",
       "238  80.471577  80.107659  79.993113  79.737364  79.616848  79.342473   \n",
       "239  73.696258  73.481620  73.306175  73.111042  73.024325  72.951749   \n",
       "240  73.046997  73.195999  73.196999  73.450996  73.525002  71.970001   \n",
       "241  70.295998  70.920998  70.210999  70.170998  70.216003  70.197998   \n",
       "242  70.519997  69.820000  70.397003  71.241997  71.707001  72.162003   \n",
       "243        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "244  88.595001  88.265999  87.906998  87.519997  87.442001  87.366997   \n",
       "245  76.026001  76.028000  75.884003  75.681999  75.441002  75.232002   \n",
       "246  63.681999  63.909000  64.219002  63.063999  63.316002  63.141998   \n",
       "247  76.078794  76.056077  75.887011  75.695038  75.590244  75.362400   \n",
       "248  76.822998  76.012001  75.837997  75.781998  75.139999  74.302002   \n",
       "249  69.361000  69.349998  68.990997  68.544998  68.432999  68.560997   \n",
       "250  75.978996  76.355003  76.744003  77.105003  77.410004  77.641998   \n",
       "251  80.172997  80.074997  79.940002  79.795998  79.625999  79.472000   \n",
       "252  78.944000  78.223000  78.196999  78.120003  77.983002  77.661003   \n",
       "253        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "254  67.162003  66.700996  66.061996  65.449997  64.878998  64.431000   \n",
       "255  81.639999  81.577003  82.499001  82.651001  83.015999  82.400002   \n",
       "256  79.570999  79.527000  79.466003  79.443001  79.647003  79.563004   \n",
       "257  75.862108  75.766834  75.629981  75.452084  75.328353  75.132452   \n",
       "258  39.792000  39.744999  39.926998  39.787998  39.596001  38.950001   \n",
       "259        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "260  68.447998  68.153000  67.883003  67.599998  68.839996  69.986000   \n",
       "261  59.838001  60.334999  60.462002  60.654999  61.902000  62.050999   \n",
       "262  81.499001  80.740997  80.582001  80.402000  80.216003  80.057999   \n",
       "263  88.496002  88.551002  88.668999  88.790001  88.873001  88.938004   \n",
       "\n",
       "          2017       2018       2019  \n",
       "0          NaN        NaN        NaN  \n",
       "1    82.148003  82.134003  82.127998  \n",
       "2    80.179001  80.086998  79.988998  \n",
       "3    64.996002  64.882004  64.751999  \n",
       "4          NaN        NaN        NaN  \n",
       "5    73.710772  73.699053  73.674687  \n",
       "6    93.542999  93.367996  93.407997  \n",
       "7    72.960999  72.821999  72.689003  \n",
       "8    69.702003  69.866997  69.931999  \n",
       "9          NaN        NaN        NaN  \n",
       "10         NaN        NaN        NaN  \n",
       "11   70.702003  70.530998  70.349998  \n",
       "12   66.153000  65.917999  65.648003  \n",
       "13   70.044998  69.723000  69.351997  \n",
       "14   77.612999  77.637001  77.606003  \n",
       "15   59.109001  58.877998  58.632999  \n",
       "16   73.307999  73.309998  73.313004  \n",
       "17   75.249001  75.109001  74.961998  \n",
       "18   81.411003  81.317001  81.219002  \n",
       "19   61.740002  61.623001  61.487999  \n",
       "20   87.128998  87.249001  87.447998  \n",
       "21   82.003998  82.011002  81.953003  \n",
       "22   58.698002  58.585999  58.455002  \n",
       "23   70.649002  70.325996  69.961998  \n",
       "24   81.321999  81.399002  81.494003  \n",
       "25         NaN        NaN        NaN  \n",
       "26   79.345001  79.349998  79.359001  \n",
       "27   74.600998  74.431000  74.253998  \n",
       "28   70.095001  69.633003  69.156998  \n",
       "29   72.016998  71.670998  71.304001  \n",
       "..         ...        ...        ...  \n",
       "234  77.478158  77.393846  77.303395  \n",
       "235  52.756001  52.605000  52.476002  \n",
       "236  71.260589  71.172893  71.030007  \n",
       "237  74.189003  74.138000  74.084999  \n",
       "238  79.254324  79.210024  79.167037  \n",
       "239  72.877351  72.848077  72.815799  \n",
       "240  71.758003  71.268997  70.736000  \n",
       "241  70.068001  69.882004  69.650002  \n",
       "242  72.695000  72.553001  72.397003  \n",
       "243        NaN        NaN        NaN  \n",
       "244  87.264000  87.195999  87.123001  \n",
       "245  74.987000  74.996002  75.009003  \n",
       "246  63.007999  62.794998  62.530998  \n",
       "247  75.184513  74.897814  74.577476  \n",
       "248  73.681999  73.752998  73.818001  \n",
       "249  68.487000  68.205002  67.925003  \n",
       "250  77.834999  77.963997  78.009003  \n",
       "251  79.356003  79.181000  78.969002  \n",
       "252  77.292000  77.112000  76.913002  \n",
       "253        NaN        NaN        NaN  \n",
       "254  64.002998  63.675999  63.342999  \n",
       "255  82.563004  82.467003  82.308998  \n",
       "256  79.532997  79.624001  79.710999  \n",
       "257  75.025377  74.870419  74.701880  \n",
       "258  38.745998  38.624001  38.465000  \n",
       "259        NaN        NaN        NaN  \n",
       "260  70.723999  70.809998  70.873001  \n",
       "261  62.667000  62.630001  62.590000  \n",
       "262  79.878998  79.795998  79.728996  \n",
       "263  88.920998  88.992996  89.049004  \n",
       "\n",
       "[264 rows x 12 columns]"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfb"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0                                                  Aruba\n",
       "1                                            Afghanistan\n",
       "2                                                 Angola\n",
       "3                                                Albania\n",
       "4                                                Andorra\n",
       "5                                             Arab World\n",
       "6                                   United Arab Emirates\n",
       "7                                              Argentina\n",
       "8                                                Armenia\n",
       "9                                         American Samoa\n",
       "10                                   Antigua and Barbuda\n",
       "11                                             Australia\n",
       "12                                               Austria\n",
       "13                                            Azerbaijan\n",
       "14                                               Burundi\n",
       "15                                               Belgium\n",
       "16                                                 Benin\n",
       "17                                          Burkina Faso\n",
       "18                                            Bangladesh\n",
       "19                                              Bulgaria\n",
       "20                                               Bahrain\n",
       "21                                          Bahamas, The\n",
       "22                                Bosnia and Herzegovina\n",
       "23                                               Belarus\n",
       "24                                                Belize\n",
       "25                                               Bermuda\n",
       "26                                               Bolivia\n",
       "27                                                Brazil\n",
       "28                                              Barbados\n",
       "29                                     Brunei Darussalam\n",
       "                             ...                        \n",
       "234    Latin America & the Caribbean (IDA & IBRD coun...\n",
       "235                                          Timor-Leste\n",
       "236    Middle East & North Africa (IDA & IBRD countries)\n",
       "237                                                Tonga\n",
       "238                              South Asia (IDA & IBRD)\n",
       "239            Sub-Saharan Africa (IDA & IBRD countries)\n",
       "240                                  Trinidad and Tobago\n",
       "241                                              Tunisia\n",
       "242                                               Turkey\n",
       "243                                               Tuvalu\n",
       "244                                             Tanzania\n",
       "245                                               Uganda\n",
       "246                                              Ukraine\n",
       "247                                  Upper middle income\n",
       "248                                              Uruguay\n",
       "249                                        United States\n",
       "250                                           Uzbekistan\n",
       "251                       St. Vincent and the Grenadines\n",
       "252                                        Venezuela, RB\n",
       "253                               British Virgin Islands\n",
       "254                                Virgin Islands (U.S.)\n",
       "255                                              Vietnam\n",
       "256                                              Vanuatu\n",
       "257                                                World\n",
       "258                                                Samoa\n",
       "259                                               Kosovo\n",
       "260                                          Yemen, Rep.\n",
       "261                                         South Africa\n",
       "262                                               Zambia\n",
       "263                                             Zimbabwe\n",
       "Name: country, Length: 264, dtype: object"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfb.country"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['country', '2009', '2010', '2011', '2012', '2013', '2014', '2015',\n",
       "       '2016', '2017', '2018', '2019'], dtype=object)"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfb.columns.values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>82.833000</td>\n",
       "      <td>82.704002</td>\n",
       "      <td>82.594002</td>\n",
       "      <td>82.482002</td>\n",
       "      <td>82.386002</td>\n",
       "      <td>82.322998</td>\n",
       "      <td>82.297997</td>\n",
       "      <td>82.207001</td>\n",
       "      <td>82.148003</td>\n",
       "      <td>82.134003</td>\n",
       "      <td>82.127998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>80.443001</td>\n",
       "      <td>80.464996</td>\n",
       "      <td>80.555000</td>\n",
       "      <td>80.582001</td>\n",
       "      <td>80.545998</td>\n",
       "      <td>80.478996</td>\n",
       "      <td>80.378998</td>\n",
       "      <td>80.306000</td>\n",
       "      <td>80.179001</td>\n",
       "      <td>80.086998</td>\n",
       "      <td>79.988998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>64.292000</td>\n",
       "      <td>62.984001</td>\n",
       "      <td>64.411003</td>\n",
       "      <td>66.116997</td>\n",
       "      <td>62.646000</td>\n",
       "      <td>63.882000</td>\n",
       "      <td>65.161003</td>\n",
       "      <td>65.060997</td>\n",
       "      <td>64.996002</td>\n",
       "      <td>64.882004</td>\n",
       "      <td>64.751999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>74.126656</td>\n",
       "      <td>74.627098</td>\n",
       "      <td>74.694286</td>\n",
       "      <td>74.776017</td>\n",
       "      <td>74.946682</td>\n",
       "      <td>74.582973</td>\n",
       "      <td>74.100492</td>\n",
       "      <td>73.748193</td>\n",
       "      <td>73.710772</td>\n",
       "      <td>73.699053</td>\n",
       "      <td>73.674687</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>93.607002</td>\n",
       "      <td>94.542000</td>\n",
       "      <td>94.360001</td>\n",
       "      <td>94.234001</td>\n",
       "      <td>94.231003</td>\n",
       "      <td>94.402000</td>\n",
       "      <td>94.709999</td>\n",
       "      <td>94.063004</td>\n",
       "      <td>93.542999</td>\n",
       "      <td>93.367996</td>\n",
       "      <td>93.407997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>74.560997</td>\n",
       "      <td>74.322998</td>\n",
       "      <td>74.501999</td>\n",
       "      <td>74.102997</td>\n",
       "      <td>73.924004</td>\n",
       "      <td>73.474998</td>\n",
       "      <td>73.350998</td>\n",
       "      <td>73.167000</td>\n",
       "      <td>72.960999</td>\n",
       "      <td>72.821999</td>\n",
       "      <td>72.689003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>67.695999</td>\n",
       "      <td>71.616997</td>\n",
       "      <td>70.896004</td>\n",
       "      <td>70.514999</td>\n",
       "      <td>70.569000</td>\n",
       "      <td>70.786003</td>\n",
       "      <td>70.163002</td>\n",
       "      <td>69.750999</td>\n",
       "      <td>69.702003</td>\n",
       "      <td>69.866997</td>\n",
       "      <td>69.931999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>72.331001</td>\n",
       "      <td>72.450996</td>\n",
       "      <td>72.246002</td>\n",
       "      <td>71.772003</td>\n",
       "      <td>71.412003</td>\n",
       "      <td>70.987000</td>\n",
       "      <td>71.140999</td>\n",
       "      <td>70.651001</td>\n",
       "      <td>70.702003</td>\n",
       "      <td>70.530998</td>\n",
       "      <td>70.349998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>67.058998</td>\n",
       "      <td>66.863998</td>\n",
       "      <td>66.624001</td>\n",
       "      <td>66.648003</td>\n",
       "      <td>66.641998</td>\n",
       "      <td>66.101997</td>\n",
       "      <td>65.992996</td>\n",
       "      <td>66.222000</td>\n",
       "      <td>66.153000</td>\n",
       "      <td>65.917999</td>\n",
       "      <td>65.648003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>67.598000</td>\n",
       "      <td>67.523003</td>\n",
       "      <td>67.372002</td>\n",
       "      <td>67.639000</td>\n",
       "      <td>67.963997</td>\n",
       "      <td>68.362000</td>\n",
       "      <td>68.681999</td>\n",
       "      <td>69.713997</td>\n",
       "      <td>70.044998</td>\n",
       "      <td>69.723000</td>\n",
       "      <td>69.351997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>78.570000</td>\n",
       "      <td>78.239998</td>\n",
       "      <td>77.814003</td>\n",
       "      <td>77.421997</td>\n",
       "      <td>77.046997</td>\n",
       "      <td>76.667999</td>\n",
       "      <td>77.026001</td>\n",
       "      <td>77.329002</td>\n",
       "      <td>77.612999</td>\n",
       "      <td>77.637001</td>\n",
       "      <td>77.606003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>60.375000</td>\n",
       "      <td>60.792999</td>\n",
       "      <td>59.674000</td>\n",
       "      <td>59.722000</td>\n",
       "      <td>59.706001</td>\n",
       "      <td>59.382999</td>\n",
       "      <td>59.144001</td>\n",
       "      <td>58.963001</td>\n",
       "      <td>59.109001</td>\n",
       "      <td>58.877998</td>\n",
       "      <td>58.632999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>73.682999</td>\n",
       "      <td>72.950996</td>\n",
       "      <td>73.764000</td>\n",
       "      <td>73.699997</td>\n",
       "      <td>73.593002</td>\n",
       "      <td>73.487000</td>\n",
       "      <td>73.429001</td>\n",
       "      <td>73.383003</td>\n",
       "      <td>73.307999</td>\n",
       "      <td>73.309998</td>\n",
       "      <td>73.313004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>83.025002</td>\n",
       "      <td>81.705002</td>\n",
       "      <td>80.305000</td>\n",
       "      <td>78.813004</td>\n",
       "      <td>77.223999</td>\n",
       "      <td>75.532997</td>\n",
       "      <td>75.455002</td>\n",
       "      <td>75.362999</td>\n",
       "      <td>75.249001</td>\n",
       "      <td>75.109001</td>\n",
       "      <td>74.961998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>83.700996</td>\n",
       "      <td>83.147003</td>\n",
       "      <td>82.599998</td>\n",
       "      <td>82.049004</td>\n",
       "      <td>81.492996</td>\n",
       "      <td>80.932999</td>\n",
       "      <td>80.369003</td>\n",
       "      <td>79.805000</td>\n",
       "      <td>81.411003</td>\n",
       "      <td>81.317001</td>\n",
       "      <td>81.219002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>61.018002</td>\n",
       "      <td>59.528000</td>\n",
       "      <td>58.233002</td>\n",
       "      <td>58.702999</td>\n",
       "      <td>59.590000</td>\n",
       "      <td>60.085999</td>\n",
       "      <td>60.147999</td>\n",
       "      <td>59.581001</td>\n",
       "      <td>61.740002</td>\n",
       "      <td>61.623001</td>\n",
       "      <td>61.487999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>86.857002</td>\n",
       "      <td>87.386002</td>\n",
       "      <td>86.647003</td>\n",
       "      <td>86.848999</td>\n",
       "      <td>86.981003</td>\n",
       "      <td>87.058998</td>\n",
       "      <td>86.995003</td>\n",
       "      <td>86.945000</td>\n",
       "      <td>87.128998</td>\n",
       "      <td>87.249001</td>\n",
       "      <td>87.447998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>81.885002</td>\n",
       "      <td>81.862000</td>\n",
       "      <td>81.820000</td>\n",
       "      <td>81.697998</td>\n",
       "      <td>81.776001</td>\n",
       "      <td>81.896004</td>\n",
       "      <td>82.094002</td>\n",
       "      <td>82.113998</td>\n",
       "      <td>82.003998</td>\n",
       "      <td>82.011002</td>\n",
       "      <td>81.953003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>60.071999</td>\n",
       "      <td>59.925999</td>\n",
       "      <td>59.665001</td>\n",
       "      <td>59.339001</td>\n",
       "      <td>58.938000</td>\n",
       "      <td>58.534000</td>\n",
       "      <td>58.418999</td>\n",
       "      <td>58.800999</td>\n",
       "      <td>58.698002</td>\n",
       "      <td>58.585999</td>\n",
       "      <td>58.455002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>69.061996</td>\n",
       "      <td>69.551002</td>\n",
       "      <td>69.904999</td>\n",
       "      <td>70.246002</td>\n",
       "      <td>70.556000</td>\n",
       "      <td>70.807999</td>\n",
       "      <td>70.997002</td>\n",
       "      <td>70.949997</td>\n",
       "      <td>70.649002</td>\n",
       "      <td>70.325996</td>\n",
       "      <td>69.961998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>82.633003</td>\n",
       "      <td>82.670998</td>\n",
       "      <td>82.917000</td>\n",
       "      <td>83.172997</td>\n",
       "      <td>82.516998</td>\n",
       "      <td>81.783997</td>\n",
       "      <td>80.948998</td>\n",
       "      <td>81.138000</td>\n",
       "      <td>81.321999</td>\n",
       "      <td>81.399002</td>\n",
       "      <td>81.494003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>81.861000</td>\n",
       "      <td>82.045998</td>\n",
       "      <td>82.106003</td>\n",
       "      <td>80.013000</td>\n",
       "      <td>79.917999</td>\n",
       "      <td>81.809998</td>\n",
       "      <td>79.745003</td>\n",
       "      <td>81.036003</td>\n",
       "      <td>79.345001</td>\n",
       "      <td>79.349998</td>\n",
       "      <td>79.359001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>77.447998</td>\n",
       "      <td>76.612000</td>\n",
       "      <td>75.746002</td>\n",
       "      <td>76.242996</td>\n",
       "      <td>76.102997</td>\n",
       "      <td>75.657997</td>\n",
       "      <td>75.421997</td>\n",
       "      <td>74.945000</td>\n",
       "      <td>74.600998</td>\n",
       "      <td>74.431000</td>\n",
       "      <td>74.253998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>73.880997</td>\n",
       "      <td>73.052002</td>\n",
       "      <td>72.973999</td>\n",
       "      <td>71.963997</td>\n",
       "      <td>72.018997</td>\n",
       "      <td>69.049004</td>\n",
       "      <td>69.941002</td>\n",
       "      <td>70.496002</td>\n",
       "      <td>70.095001</td>\n",
       "      <td>69.633003</td>\n",
       "      <td>69.156998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>75.511002</td>\n",
       "      <td>75.297997</td>\n",
       "      <td>75.002998</td>\n",
       "      <td>74.598000</td>\n",
       "      <td>74.114998</td>\n",
       "      <td>73.607002</td>\n",
       "      <td>73.094002</td>\n",
       "      <td>72.564003</td>\n",
       "      <td>72.016998</td>\n",
       "      <td>71.670998</td>\n",
       "      <td>71.304001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Bhutan</td>\n",
       "      <td>75.625999</td>\n",
       "      <td>74.318001</td>\n",
       "      <td>72.832001</td>\n",
       "      <td>67.309998</td>\n",
       "      <td>72.821999</td>\n",
       "      <td>72.418999</td>\n",
       "      <td>74.125000</td>\n",
       "      <td>74.225998</td>\n",
       "      <td>74.336998</td>\n",
       "      <td>74.490997</td>\n",
       "      <td>74.586998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Botswana</td>\n",
       "      <td>70.375000</td>\n",
       "      <td>67.278000</td>\n",
       "      <td>71.959999</td>\n",
       "      <td>75.524002</td>\n",
       "      <td>78.268997</td>\n",
       "      <td>78.263000</td>\n",
       "      <td>78.397003</td>\n",
       "      <td>78.407997</td>\n",
       "      <td>78.413002</td>\n",
       "      <td>78.640999</td>\n",
       "      <td>78.841003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Central African Republic</td>\n",
       "      <td>79.754997</td>\n",
       "      <td>79.660004</td>\n",
       "      <td>79.921997</td>\n",
       "      <td>80.071999</td>\n",
       "      <td>80.647003</td>\n",
       "      <td>80.595001</td>\n",
       "      <td>80.410004</td>\n",
       "      <td>80.132004</td>\n",
       "      <td>79.782997</td>\n",
       "      <td>79.803001</td>\n",
       "      <td>79.833000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Canada</td>\n",
       "      <td>71.772003</td>\n",
       "      <td>71.444000</td>\n",
       "      <td>71.282997</td>\n",
       "      <td>70.930000</td>\n",
       "      <td>70.785004</td>\n",
       "      <td>70.449997</td>\n",
       "      <td>70.452003</td>\n",
       "      <td>70.106003</td>\n",
       "      <td>70.023003</td>\n",
       "      <td>69.738998</td>\n",
       "      <td>69.436996</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Central Europe and the Baltics</td>\n",
       "      <td>63.406101</td>\n",
       "      <td>63.751087</td>\n",
       "      <td>63.468811</td>\n",
       "      <td>63.836061</td>\n",
       "      <td>64.029553</td>\n",
       "      <td>64.555155</td>\n",
       "      <td>64.698604</td>\n",
       "      <td>64.766623</td>\n",
       "      <td>65.437795</td>\n",
       "      <td>65.145283</td>\n",
       "      <td>64.829162</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>Thailand</td>\n",
       "      <td>81.415001</td>\n",
       "      <td>80.047997</td>\n",
       "      <td>80.982002</td>\n",
       "      <td>80.883003</td>\n",
       "      <td>79.410004</td>\n",
       "      <td>78.523003</td>\n",
       "      <td>77.761002</td>\n",
       "      <td>76.723999</td>\n",
       "      <td>76.421997</td>\n",
       "      <td>76.153999</td>\n",
       "      <td>75.866997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>Tajikistan</td>\n",
       "      <td>56.598000</td>\n",
       "      <td>57.032001</td>\n",
       "      <td>57.480999</td>\n",
       "      <td>57.897999</td>\n",
       "      <td>58.277000</td>\n",
       "      <td>58.618000</td>\n",
       "      <td>58.931000</td>\n",
       "      <td>59.228001</td>\n",
       "      <td>59.508999</td>\n",
       "      <td>59.736000</td>\n",
       "      <td>59.887001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>Turkmenistan</td>\n",
       "      <td>75.866997</td>\n",
       "      <td>76.189003</td>\n",
       "      <td>76.556999</td>\n",
       "      <td>76.988998</td>\n",
       "      <td>77.435997</td>\n",
       "      <td>77.824997</td>\n",
       "      <td>78.094002</td>\n",
       "      <td>78.227997</td>\n",
       "      <td>78.264999</td>\n",
       "      <td>78.209999</td>\n",
       "      <td>78.124001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>79.019605</td>\n",
       "      <td>78.613943</td>\n",
       "      <td>78.249530</td>\n",
       "      <td>78.523680</td>\n",
       "      <td>78.212596</td>\n",
       "      <td>78.010498</td>\n",
       "      <td>77.894562</td>\n",
       "      <td>77.563643</td>\n",
       "      <td>77.478158</td>\n",
       "      <td>77.393846</td>\n",
       "      <td>77.303395</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>58.056000</td>\n",
       "      <td>56.160000</td>\n",
       "      <td>55.471001</td>\n",
       "      <td>54.772999</td>\n",
       "      <td>54.130001</td>\n",
       "      <td>53.507000</td>\n",
       "      <td>53.019001</td>\n",
       "      <td>52.714001</td>\n",
       "      <td>52.756001</td>\n",
       "      <td>52.605000</td>\n",
       "      <td>52.476002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>72.165194</td>\n",
       "      <td>72.294814</td>\n",
       "      <td>72.247723</td>\n",
       "      <td>72.172147</td>\n",
       "      <td>72.184825</td>\n",
       "      <td>71.666920</td>\n",
       "      <td>71.296166</td>\n",
       "      <td>71.315891</td>\n",
       "      <td>71.260589</td>\n",
       "      <td>71.172893</td>\n",
       "      <td>71.030007</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>75.348999</td>\n",
       "      <td>75.101997</td>\n",
       "      <td>74.901001</td>\n",
       "      <td>74.819000</td>\n",
       "      <td>74.943001</td>\n",
       "      <td>74.772003</td>\n",
       "      <td>74.473000</td>\n",
       "      <td>74.329002</td>\n",
       "      <td>74.189003</td>\n",
       "      <td>74.138000</td>\n",
       "      <td>74.084999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>81.394423</td>\n",
       "      <td>80.919256</td>\n",
       "      <td>80.471577</td>\n",
       "      <td>80.107659</td>\n",
       "      <td>79.993113</td>\n",
       "      <td>79.737364</td>\n",
       "      <td>79.616848</td>\n",
       "      <td>79.342473</td>\n",
       "      <td>79.254324</td>\n",
       "      <td>79.210024</td>\n",
       "      <td>79.167037</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>74.350499</td>\n",
       "      <td>73.953413</td>\n",
       "      <td>73.696258</td>\n",
       "      <td>73.481620</td>\n",
       "      <td>73.306175</td>\n",
       "      <td>73.111042</td>\n",
       "      <td>73.024325</td>\n",
       "      <td>72.951749</td>\n",
       "      <td>72.877351</td>\n",
       "      <td>72.848077</td>\n",
       "      <td>72.815799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>75.732002</td>\n",
       "      <td>73.941002</td>\n",
       "      <td>73.046997</td>\n",
       "      <td>73.195999</td>\n",
       "      <td>73.196999</td>\n",
       "      <td>73.450996</td>\n",
       "      <td>73.525002</td>\n",
       "      <td>71.970001</td>\n",
       "      <td>71.758003</td>\n",
       "      <td>71.268997</td>\n",
       "      <td>70.736000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>68.974998</td>\n",
       "      <td>69.667999</td>\n",
       "      <td>70.295998</td>\n",
       "      <td>70.920998</td>\n",
       "      <td>70.210999</td>\n",
       "      <td>70.170998</td>\n",
       "      <td>70.216003</td>\n",
       "      <td>70.197998</td>\n",
       "      <td>70.068001</td>\n",
       "      <td>69.882004</td>\n",
       "      <td>69.650002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>69.098999</td>\n",
       "      <td>69.640999</td>\n",
       "      <td>70.519997</td>\n",
       "      <td>69.820000</td>\n",
       "      <td>70.397003</td>\n",
       "      <td>71.241997</td>\n",
       "      <td>71.707001</td>\n",
       "      <td>72.162003</td>\n",
       "      <td>72.695000</td>\n",
       "      <td>72.553001</td>\n",
       "      <td>72.397003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>89.172997</td>\n",
       "      <td>88.894997</td>\n",
       "      <td>88.595001</td>\n",
       "      <td>88.265999</td>\n",
       "      <td>87.906998</td>\n",
       "      <td>87.519997</td>\n",
       "      <td>87.442001</td>\n",
       "      <td>87.366997</td>\n",
       "      <td>87.264000</td>\n",
       "      <td>87.195999</td>\n",
       "      <td>87.123001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>76.040001</td>\n",
       "      <td>76.028000</td>\n",
       "      <td>76.026001</td>\n",
       "      <td>76.028000</td>\n",
       "      <td>75.884003</td>\n",
       "      <td>75.681999</td>\n",
       "      <td>75.441002</td>\n",
       "      <td>75.232002</td>\n",
       "      <td>74.987000</td>\n",
       "      <td>74.996002</td>\n",
       "      <td>75.009003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>62.778000</td>\n",
       "      <td>62.964001</td>\n",
       "      <td>63.681999</td>\n",
       "      <td>63.909000</td>\n",
       "      <td>64.219002</td>\n",
       "      <td>63.063999</td>\n",
       "      <td>63.316002</td>\n",
       "      <td>63.141998</td>\n",
       "      <td>63.007999</td>\n",
       "      <td>62.794998</td>\n",
       "      <td>62.530998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>76.546208</td>\n",
       "      <td>76.217867</td>\n",
       "      <td>76.078794</td>\n",
       "      <td>76.056077</td>\n",
       "      <td>75.887011</td>\n",
       "      <td>75.695038</td>\n",
       "      <td>75.590244</td>\n",
       "      <td>75.362400</td>\n",
       "      <td>75.184513</td>\n",
       "      <td>74.897814</td>\n",
       "      <td>74.577476</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>77.057999</td>\n",
       "      <td>76.749001</td>\n",
       "      <td>76.822998</td>\n",
       "      <td>76.012001</td>\n",
       "      <td>75.837997</td>\n",
       "      <td>75.781998</td>\n",
       "      <td>75.139999</td>\n",
       "      <td>74.302002</td>\n",
       "      <td>73.681999</td>\n",
       "      <td>73.752998</td>\n",
       "      <td>73.818001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>70.774002</td>\n",
       "      <td>69.931999</td>\n",
       "      <td>69.361000</td>\n",
       "      <td>69.349998</td>\n",
       "      <td>68.990997</td>\n",
       "      <td>68.544998</td>\n",
       "      <td>68.432999</td>\n",
       "      <td>68.560997</td>\n",
       "      <td>68.487000</td>\n",
       "      <td>68.205002</td>\n",
       "      <td>67.925003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>75.336998</td>\n",
       "      <td>75.646004</td>\n",
       "      <td>75.978996</td>\n",
       "      <td>76.355003</td>\n",
       "      <td>76.744003</td>\n",
       "      <td>77.105003</td>\n",
       "      <td>77.410004</td>\n",
       "      <td>77.641998</td>\n",
       "      <td>77.834999</td>\n",
       "      <td>77.963997</td>\n",
       "      <td>78.009003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>79.929001</td>\n",
       "      <td>80.147003</td>\n",
       "      <td>80.172997</td>\n",
       "      <td>80.074997</td>\n",
       "      <td>79.940002</td>\n",
       "      <td>79.795998</td>\n",
       "      <td>79.625999</td>\n",
       "      <td>79.472000</td>\n",
       "      <td>79.356003</td>\n",
       "      <td>79.181000</td>\n",
       "      <td>78.969002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>79.424004</td>\n",
       "      <td>79.315002</td>\n",
       "      <td>78.944000</td>\n",
       "      <td>78.223000</td>\n",
       "      <td>78.196999</td>\n",
       "      <td>78.120003</td>\n",
       "      <td>77.983002</td>\n",
       "      <td>77.661003</td>\n",
       "      <td>77.292000</td>\n",
       "      <td>77.112000</td>\n",
       "      <td>76.913002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>68.315002</td>\n",
       "      <td>67.819000</td>\n",
       "      <td>67.162003</td>\n",
       "      <td>66.700996</td>\n",
       "      <td>66.061996</td>\n",
       "      <td>65.449997</td>\n",
       "      <td>64.878998</td>\n",
       "      <td>64.431000</td>\n",
       "      <td>64.002998</td>\n",
       "      <td>63.675999</td>\n",
       "      <td>63.342999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>80.625000</td>\n",
       "      <td>81.343002</td>\n",
       "      <td>81.639999</td>\n",
       "      <td>81.577003</td>\n",
       "      <td>82.499001</td>\n",
       "      <td>82.651001</td>\n",
       "      <td>83.015999</td>\n",
       "      <td>82.400002</td>\n",
       "      <td>82.563004</td>\n",
       "      <td>82.467003</td>\n",
       "      <td>82.308998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>79.221001</td>\n",
       "      <td>79.517998</td>\n",
       "      <td>79.570999</td>\n",
       "      <td>79.527000</td>\n",
       "      <td>79.466003</td>\n",
       "      <td>79.443001</td>\n",
       "      <td>79.647003</td>\n",
       "      <td>79.563004</td>\n",
       "      <td>79.532997</td>\n",
       "      <td>79.624001</td>\n",
       "      <td>79.710999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>76.322679</td>\n",
       "      <td>76.038789</td>\n",
       "      <td>75.862108</td>\n",
       "      <td>75.766834</td>\n",
       "      <td>75.629981</td>\n",
       "      <td>75.452084</td>\n",
       "      <td>75.328353</td>\n",
       "      <td>75.132452</td>\n",
       "      <td>75.025377</td>\n",
       "      <td>74.870419</td>\n",
       "      <td>74.701880</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>40.414001</td>\n",
       "      <td>40.368000</td>\n",
       "      <td>39.792000</td>\n",
       "      <td>39.744999</td>\n",
       "      <td>39.926998</td>\n",
       "      <td>39.787998</td>\n",
       "      <td>39.596001</td>\n",
       "      <td>38.950001</td>\n",
       "      <td>38.745998</td>\n",
       "      <td>38.624001</td>\n",
       "      <td>38.465000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>68.921997</td>\n",
       "      <td>68.796997</td>\n",
       "      <td>68.447998</td>\n",
       "      <td>68.153000</td>\n",
       "      <td>67.883003</td>\n",
       "      <td>67.599998</td>\n",
       "      <td>68.839996</td>\n",
       "      <td>69.986000</td>\n",
       "      <td>70.723999</td>\n",
       "      <td>70.809998</td>\n",
       "      <td>70.873001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>62.176998</td>\n",
       "      <td>60.452999</td>\n",
       "      <td>59.838001</td>\n",
       "      <td>60.334999</td>\n",
       "      <td>60.462002</td>\n",
       "      <td>60.654999</td>\n",
       "      <td>61.902000</td>\n",
       "      <td>62.050999</td>\n",
       "      <td>62.667000</td>\n",
       "      <td>62.630001</td>\n",
       "      <td>62.590000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>82.995003</td>\n",
       "      <td>82.230003</td>\n",
       "      <td>81.499001</td>\n",
       "      <td>80.740997</td>\n",
       "      <td>80.582001</td>\n",
       "      <td>80.402000</td>\n",
       "      <td>80.216003</td>\n",
       "      <td>80.057999</td>\n",
       "      <td>79.878998</td>\n",
       "      <td>79.795998</td>\n",
       "      <td>79.728996</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>88.370003</td>\n",
       "      <td>88.401001</td>\n",
       "      <td>88.496002</td>\n",
       "      <td>88.551002</td>\n",
       "      <td>88.668999</td>\n",
       "      <td>88.790001</td>\n",
       "      <td>88.873001</td>\n",
       "      <td>88.938004</td>\n",
       "      <td>88.920998</td>\n",
       "      <td>88.992996</td>\n",
       "      <td>89.049004</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>233 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "1                                          Afghanistan  82.833000  82.704002   \n",
       "2                                               Angola  80.443001  80.464996   \n",
       "3                                              Albania  64.292000  62.984001   \n",
       "5                                           Arab World  74.126656  74.627098   \n",
       "6                                 United Arab Emirates  93.607002  94.542000   \n",
       "7                                            Argentina  74.560997  74.322998   \n",
       "8                                              Armenia  67.695999  71.616997   \n",
       "11                                           Australia  72.331001  72.450996   \n",
       "12                                             Austria  67.058998  66.863998   \n",
       "13                                          Azerbaijan  67.598000  67.523003   \n",
       "14                                             Burundi  78.570000  78.239998   \n",
       "15                                             Belgium  60.375000  60.792999   \n",
       "16                                               Benin  73.682999  72.950996   \n",
       "17                                        Burkina Faso  83.025002  81.705002   \n",
       "18                                          Bangladesh  83.700996  83.147003   \n",
       "19                                            Bulgaria  61.018002  59.528000   \n",
       "20                                             Bahrain  86.857002  87.386002   \n",
       "21                                        Bahamas, The  81.885002  81.862000   \n",
       "22                              Bosnia and Herzegovina  60.071999  59.925999   \n",
       "23                                             Belarus  69.061996  69.551002   \n",
       "24                                              Belize  82.633003  82.670998   \n",
       "26                                             Bolivia  81.861000  82.045998   \n",
       "27                                              Brazil  77.447998  76.612000   \n",
       "28                                            Barbados  73.880997  73.052002   \n",
       "29                                   Brunei Darussalam  75.511002  75.297997   \n",
       "30                                              Bhutan  75.625999  74.318001   \n",
       "31                                            Botswana  70.375000  67.278000   \n",
       "32                            Central African Republic  79.754997  79.660004   \n",
       "33                                              Canada  71.772003  71.444000   \n",
       "34                      Central Europe and the Baltics  63.406101  63.751087   \n",
       "..                                                 ...        ...        ...   \n",
       "231                                           Thailand  81.415001  80.047997   \n",
       "232                                         Tajikistan  56.598000  57.032001   \n",
       "233                                       Turkmenistan  75.866997  76.189003   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  79.019605  78.613943   \n",
       "235                                        Timor-Leste  58.056000  56.160000   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  72.165194  72.294814   \n",
       "237                                              Tonga  75.348999  75.101997   \n",
       "238                            South Asia (IDA & IBRD)  81.394423  80.919256   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  74.350499  73.953413   \n",
       "240                                Trinidad and Tobago  75.732002  73.941002   \n",
       "241                                            Tunisia  68.974998  69.667999   \n",
       "242                                             Turkey  69.098999  69.640999   \n",
       "244                                           Tanzania  89.172997  88.894997   \n",
       "245                                             Uganda  76.040001  76.028000   \n",
       "246                                            Ukraine  62.778000  62.964001   \n",
       "247                                Upper middle income  76.546208  76.217867   \n",
       "248                                            Uruguay  77.057999  76.749001   \n",
       "249                                      United States  70.774002  69.931999   \n",
       "250                                         Uzbekistan  75.336998  75.646004   \n",
       "251                     St. Vincent and the Grenadines  79.929001  80.147003   \n",
       "252                                      Venezuela, RB  79.424004  79.315002   \n",
       "254                              Virgin Islands (U.S.)  68.315002  67.819000   \n",
       "255                                            Vietnam  80.625000  81.343002   \n",
       "256                                            Vanuatu  79.221001  79.517998   \n",
       "257                                              World  76.322679  76.038789   \n",
       "258                                              Samoa  40.414001  40.368000   \n",
       "260                                        Yemen, Rep.  68.921997  68.796997   \n",
       "261                                       South Africa  62.176998  60.452999   \n",
       "262                                             Zambia  82.995003  82.230003   \n",
       "263                                           Zimbabwe  88.370003  88.401001   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "1    82.594002  82.482002  82.386002  82.322998  82.297997  82.207001   \n",
       "2    80.555000  80.582001  80.545998  80.478996  80.378998  80.306000   \n",
       "3    64.411003  66.116997  62.646000  63.882000  65.161003  65.060997   \n",
       "5    74.694286  74.776017  74.946682  74.582973  74.100492  73.748193   \n",
       "6    94.360001  94.234001  94.231003  94.402000  94.709999  94.063004   \n",
       "7    74.501999  74.102997  73.924004  73.474998  73.350998  73.167000   \n",
       "8    70.896004  70.514999  70.569000  70.786003  70.163002  69.750999   \n",
       "11   72.246002  71.772003  71.412003  70.987000  71.140999  70.651001   \n",
       "12   66.624001  66.648003  66.641998  66.101997  65.992996  66.222000   \n",
       "13   67.372002  67.639000  67.963997  68.362000  68.681999  69.713997   \n",
       "14   77.814003  77.421997  77.046997  76.667999  77.026001  77.329002   \n",
       "15   59.674000  59.722000  59.706001  59.382999  59.144001  58.963001   \n",
       "16   73.764000  73.699997  73.593002  73.487000  73.429001  73.383003   \n",
       "17   80.305000  78.813004  77.223999  75.532997  75.455002  75.362999   \n",
       "18   82.599998  82.049004  81.492996  80.932999  80.369003  79.805000   \n",
       "19   58.233002  58.702999  59.590000  60.085999  60.147999  59.581001   \n",
       "20   86.647003  86.848999  86.981003  87.058998  86.995003  86.945000   \n",
       "21   81.820000  81.697998  81.776001  81.896004  82.094002  82.113998   \n",
       "22   59.665001  59.339001  58.938000  58.534000  58.418999  58.800999   \n",
       "23   69.904999  70.246002  70.556000  70.807999  70.997002  70.949997   \n",
       "24   82.917000  83.172997  82.516998  81.783997  80.948998  81.138000   \n",
       "26   82.106003  80.013000  79.917999  81.809998  79.745003  81.036003   \n",
       "27   75.746002  76.242996  76.102997  75.657997  75.421997  74.945000   \n",
       "28   72.973999  71.963997  72.018997  69.049004  69.941002  70.496002   \n",
       "29   75.002998  74.598000  74.114998  73.607002  73.094002  72.564003   \n",
       "30   72.832001  67.309998  72.821999  72.418999  74.125000  74.225998   \n",
       "31   71.959999  75.524002  78.268997  78.263000  78.397003  78.407997   \n",
       "32   79.921997  80.071999  80.647003  80.595001  80.410004  80.132004   \n",
       "33   71.282997  70.930000  70.785004  70.449997  70.452003  70.106003   \n",
       "34   63.468811  63.836061  64.029553  64.555155  64.698604  64.766623   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "231  80.982002  80.883003  79.410004  78.523003  77.761002  76.723999   \n",
       "232  57.480999  57.897999  58.277000  58.618000  58.931000  59.228001   \n",
       "233  76.556999  76.988998  77.435997  77.824997  78.094002  78.227997   \n",
       "234  78.249530  78.523680  78.212596  78.010498  77.894562  77.563643   \n",
       "235  55.471001  54.772999  54.130001  53.507000  53.019001  52.714001   \n",
       "236  72.247723  72.172147  72.184825  71.666920  71.296166  71.315891   \n",
       "237  74.901001  74.819000  74.943001  74.772003  74.473000  74.329002   \n",
       "238  80.471577  80.107659  79.993113  79.737364  79.616848  79.342473   \n",
       "239  73.696258  73.481620  73.306175  73.111042  73.024325  72.951749   \n",
       "240  73.046997  73.195999  73.196999  73.450996  73.525002  71.970001   \n",
       "241  70.295998  70.920998  70.210999  70.170998  70.216003  70.197998   \n",
       "242  70.519997  69.820000  70.397003  71.241997  71.707001  72.162003   \n",
       "244  88.595001  88.265999  87.906998  87.519997  87.442001  87.366997   \n",
       "245  76.026001  76.028000  75.884003  75.681999  75.441002  75.232002   \n",
       "246  63.681999  63.909000  64.219002  63.063999  63.316002  63.141998   \n",
       "247  76.078794  76.056077  75.887011  75.695038  75.590244  75.362400   \n",
       "248  76.822998  76.012001  75.837997  75.781998  75.139999  74.302002   \n",
       "249  69.361000  69.349998  68.990997  68.544998  68.432999  68.560997   \n",
       "250  75.978996  76.355003  76.744003  77.105003  77.410004  77.641998   \n",
       "251  80.172997  80.074997  79.940002  79.795998  79.625999  79.472000   \n",
       "252  78.944000  78.223000  78.196999  78.120003  77.983002  77.661003   \n",
       "254  67.162003  66.700996  66.061996  65.449997  64.878998  64.431000   \n",
       "255  81.639999  81.577003  82.499001  82.651001  83.015999  82.400002   \n",
       "256  79.570999  79.527000  79.466003  79.443001  79.647003  79.563004   \n",
       "257  75.862108  75.766834  75.629981  75.452084  75.328353  75.132452   \n",
       "258  39.792000  39.744999  39.926998  39.787998  39.596001  38.950001   \n",
       "260  68.447998  68.153000  67.883003  67.599998  68.839996  69.986000   \n",
       "261  59.838001  60.334999  60.462002  60.654999  61.902000  62.050999   \n",
       "262  81.499001  80.740997  80.582001  80.402000  80.216003  80.057999   \n",
       "263  88.496002  88.551002  88.668999  88.790001  88.873001  88.938004   \n",
       "\n",
       "          2017       2018       2019  \n",
       "1    82.148003  82.134003  82.127998  \n",
       "2    80.179001  80.086998  79.988998  \n",
       "3    64.996002  64.882004  64.751999  \n",
       "5    73.710772  73.699053  73.674687  \n",
       "6    93.542999  93.367996  93.407997  \n",
       "7    72.960999  72.821999  72.689003  \n",
       "8    69.702003  69.866997  69.931999  \n",
       "11   70.702003  70.530998  70.349998  \n",
       "12   66.153000  65.917999  65.648003  \n",
       "13   70.044998  69.723000  69.351997  \n",
       "14   77.612999  77.637001  77.606003  \n",
       "15   59.109001  58.877998  58.632999  \n",
       "16   73.307999  73.309998  73.313004  \n",
       "17   75.249001  75.109001  74.961998  \n",
       "18   81.411003  81.317001  81.219002  \n",
       "19   61.740002  61.623001  61.487999  \n",
       "20   87.128998  87.249001  87.447998  \n",
       "21   82.003998  82.011002  81.953003  \n",
       "22   58.698002  58.585999  58.455002  \n",
       "23   70.649002  70.325996  69.961998  \n",
       "24   81.321999  81.399002  81.494003  \n",
       "26   79.345001  79.349998  79.359001  \n",
       "27   74.600998  74.431000  74.253998  \n",
       "28   70.095001  69.633003  69.156998  \n",
       "29   72.016998  71.670998  71.304001  \n",
       "30   74.336998  74.490997  74.586998  \n",
       "31   78.413002  78.640999  78.841003  \n",
       "32   79.782997  79.803001  79.833000  \n",
       "33   70.023003  69.738998  69.436996  \n",
       "34   65.437795  65.145283  64.829162  \n",
       "..         ...        ...        ...  \n",
       "231  76.421997  76.153999  75.866997  \n",
       "232  59.508999  59.736000  59.887001  \n",
       "233  78.264999  78.209999  78.124001  \n",
       "234  77.478158  77.393846  77.303395  \n",
       "235  52.756001  52.605000  52.476002  \n",
       "236  71.260589  71.172893  71.030007  \n",
       "237  74.189003  74.138000  74.084999  \n",
       "238  79.254324  79.210024  79.167037  \n",
       "239  72.877351  72.848077  72.815799  \n",
       "240  71.758003  71.268997  70.736000  \n",
       "241  70.068001  69.882004  69.650002  \n",
       "242  72.695000  72.553001  72.397003  \n",
       "244  87.264000  87.195999  87.123001  \n",
       "245  74.987000  74.996002  75.009003  \n",
       "246  63.007999  62.794998  62.530998  \n",
       "247  75.184513  74.897814  74.577476  \n",
       "248  73.681999  73.752998  73.818001  \n",
       "249  68.487000  68.205002  67.925003  \n",
       "250  77.834999  77.963997  78.009003  \n",
       "251  79.356003  79.181000  78.969002  \n",
       "252  77.292000  77.112000  76.913002  \n",
       "254  64.002998  63.675999  63.342999  \n",
       "255  82.563004  82.467003  82.308998  \n",
       "256  79.532997  79.624001  79.710999  \n",
       "257  75.025377  74.870419  74.701880  \n",
       "258  38.745998  38.624001  38.465000  \n",
       "260  70.723999  70.809998  70.873001  \n",
       "261  62.667000  62.630001  62.590000  \n",
       "262  79.878998  79.795998  79.728996  \n",
       "263  88.920998  88.992996  89.049004  \n",
       "\n",
       "[233 rows x 12 columns]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfb1 =dfb.dropna(axis=0,how='any') \n",
    "dfb1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['country', '2009', '2010', '2011', '2012', '2013', '2014', '2015',\n",
       "       '2016', '2017', '2018', '2019'], dtype=object)"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfb1.columns.values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "['Afghanistan', 'Angola', 'Albania', 'Arab World', 'United Arab Emirates', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaijan', 'Burundi', 'Belgium', 'Benin', 'Burkina Faso', 'Bangladesh', 'Bulgaria', 'Bahrain', 'Bahamas, The', 'Bosnia and Herzegovina', 'Belarus', 'Belize', 'Bolivia', 'Brazil', 'Barbados', 'Brunei Darussalam', 'Bhutan', 'Botswana', 'Central African Republic', 'Canada', 'Central Europe and the Baltics', 'Switzerland', 'Channel Islands', 'Chile', 'China', \"Cote d'Ivoire\", 'Cameroon', 'Congo, Dem. Rep.', 'Congo, Rep.', 'Colombia', 'Comoros', 'Cabo Verde', 'Costa Rica', 'Caribbean small states', 'Cuba', 'Cyprus', 'Czech Republic', 'Germany', 'Djibouti', 'Denmark', 'Dominican Republic', 'Algeria', 'East Asia & Pacific (excluding high income)', 'Early-demographic dividend', 'East Asia & Pacific', 'Europe & Central Asia (excluding high income)', 'Europe & Central Asia', 'Ecuador', 'Egypt, Arab Rep.', 'Euro area', 'Eritrea', 'Spain', 'Estonia', 'Ethiopia', 'European Union', 'Fragile and conflict affected situations', 'Finland', 'Fiji', 'France', 'Gabon', 'United Kingdom', 'Georgia', 'Ghana', 'Guinea', 'Gambia, The', 'Guinea-Bissau', 'Equatorial Guinea', 'Greece', 'Guatemala', 'Guam', 'Guyana', 'High income', 'Hong Kong SAR, China', 'Honduras', 'Heavily indebted poor countries (HIPC)', 'Croatia', 'Haiti', 'Hungary', 'IBRD only', 'IDA & IBRD total', 'IDA total', 'IDA blend', 'Indonesia', 'IDA only', 'India', 'Ireland', 'Iran, Islamic Rep.', 'Iraq', 'Iceland', 'Israel', 'Italy', 'Jamaica', 'Jordan', 'Japan', 'Kazakhstan', 'Kenya', 'Kyrgyz Republic', 'Cambodia', 'Korea, Rep.', 'Kuwait', 'Latin America & Caribbean (excluding high income)', 'Lao PDR', 'Lebanon', 'Liberia', 'Libya', 'St. Lucia', 'Latin America & Caribbean', 'Least developed countries: UN classification', 'Low income', 'Sri Lanka', 'Lower middle income', 'Low & middle income', 'Lesotho', 'Late-demographic dividend', 'Lithuania', 'Luxembourg', 'Latvia', 'Macao SAR, China', 'Morocco', 'Moldova', 'Madagascar', 'Maldives', 'Middle East & North Africa', 'Mexico', 'Middle income', 'North Macedonia', 'Mali', 'Malta', 'Myanmar', 'Middle East & North Africa (excluding high income)', 'Montenegro', 'Mongolia', 'Mozambique', 'Mauritania', 'Mauritius', 'Malawi', 'Malaysia', 'North America', 'Namibia', 'New Caledonia', 'Niger', 'Nigeria', 'Nicaragua', 'Netherlands', 'Norway', 'Nepal', 'New Zealand', 'OECD members', 'Oman', 'Other small states', 'Pakistan', 'Panama', 'Peru', 'Philippines', 'Papua New Guinea', 'Poland', 'Pre-demographic dividend', 'Puerto Rico', 'Korea, Dem. People’s Rep.', 'Portugal', 'Paraguay', 'West Bank and Gaza', 'Pacific island small states', 'Post-demographic dividend', 'French Polynesia', 'Qatar', 'Romania', 'Russian Federation', 'Rwanda', 'South Asia', 'Saudi Arabia', 'Sudan', 'Senegal', 'Singapore', 'Solomon Islands', 'Sierra Leone', 'El Salvador', 'Somalia', 'Serbia', 'Sub-Saharan Africa (excluding high income)', 'South Sudan', 'Sub-Saharan Africa', 'Small states', 'Sao Tome and Principe', 'Suriname', 'Slovak Republic', 'Slovenia', 'Sweden', 'Eswatini', 'Syrian Arab Republic', 'Chad', 'East Asia & Pacific (IDA & IBRD countries)', 'Europe & Central Asia (IDA & IBRD countries)', 'Togo', 'Thailand', 'Tajikistan', 'Turkmenistan', 'Latin America & the Caribbean (IDA & IBRD countries)', 'Timor-Leste', 'Middle East & North Africa (IDA & IBRD countries)', 'Tonga', 'South Asia (IDA & IBRD)', 'Sub-Saharan Africa (IDA & IBRD countries)', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Tanzania', 'Uganda', 'Ukraine', 'Upper middle income', 'Uruguay', 'United States', 'Uzbekistan', 'St. Vincent and the Grenadines', 'Venezuela, RB', 'Virgin Islands (U.S.)', 'Vietnam', 'Vanuatu', 'World', 'Samoa', 'Yemen, Rep.', 'South Africa', 'Zambia', 'Zimbabwe']\n"
     ]
    }
   ],
   "source": [
    "dfb2=print(list(dfb1.country))\n",
    "dfb2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 16,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[('Afghanistan',), ('Angola',), ('Albania',), ('Arab World',), ('United Arab Emirates',), ('Argentina',), ('Armenia',), ('Australia',), ('Austria',), ('Azerbaijan',), ('Burundi',), ('Belgium',), ('Benin',), ('Burkina Faso',), ('Bangladesh',), ('Bulgaria',), ('Bahrain',), ('Bahamas, The',), ('Bosnia and Herzegovina',), ('Belarus',), ('Belize',), ('Bolivia',), ('Brazil',), ('Barbados',), ('Brunei Darussalam',), ('Bhutan',), ('Botswana',), ('Central African Republic',), ('Canada',), ('Central Europe and the Baltics',), ('Switzerland',), ('Channel Islands',), ('Chile',), ('China',), (\"Cote d'Ivoire\",), ('Cameroon',), ('Congo, Dem. Rep.',), ('Congo, Rep.',), ('Colombia',), ('Comoros',), ('Cabo Verde',), ('Costa Rica',), ('Caribbean small states',), ('Cuba',), ('Cyprus',), ('Czech Republic',), ('Germany',), ('Djibouti',), ('Denmark',), ('Dominican Republic',), ('Algeria',), ('East Asia & Pacific (excluding high income)',), ('Early-demographic dividend',), ('East Asia & Pacific',), ('Europe & Central Asia (excluding high income)',), ('Europe & Central Asia',), ('Ecuador',), ('Egypt, Arab Rep.',), ('Euro area',), ('Eritrea',), ('Spain',), ('Estonia',), ('Ethiopia',), ('European Union',), ('Fragile and conflict affected situations',), ('Finland',), ('Fiji',), ('France',), ('Gabon',), ('United Kingdom',), ('Georgia',), ('Ghana',), ('Guinea',), ('Gambia, The',), ('Guinea-Bissau',), ('Equatorial Guinea',), ('Greece',), ('Guatemala',), ('Guam',), ('Guyana',), ('High income',), ('Hong Kong SAR, China',), ('Honduras',), ('Heavily indebted poor countries (HIPC)',), ('Croatia',), ('Haiti',), ('Hungary',), ('IBRD only',), ('IDA & IBRD total',), ('IDA total',), ('IDA blend',), ('Indonesia',), ('IDA only',), ('India',), ('Ireland',), ('Iran, Islamic Rep.',), ('Iraq',), ('Iceland',), ('Israel',), ('Italy',), ('Jamaica',), ('Jordan',), ('Japan',), ('Kazakhstan',), ('Kenya',), ('Kyrgyz Republic',), ('Cambodia',), ('Korea, Rep.',), ('Kuwait',), ('Latin America & Caribbean (excluding high income)',), ('Lao PDR',), ('Lebanon',), ('Liberia',), ('Libya',), ('St. Lucia',), ('Latin America & Caribbean',), ('Least developed countries: UN classification',), ('Low income',), ('Sri Lanka',), ('Lower middle income',), ('Low & middle income',), ('Lesotho',), ('Late-demographic dividend',), ('Lithuania',), ('Luxembourg',), ('Latvia',), ('Macao SAR, China',), ('Morocco',), ('Moldova',), ('Madagascar',), ('Maldives',), ('Middle East & North Africa',), ('Mexico',), ('Middle income',), ('North Macedonia',), ('Mali',), ('Malta',), ('Myanmar',), ('Middle East & North Africa (excluding high income)',), ('Montenegro',), ('Mongolia',), ('Mozambique',), ('Mauritania',), ('Mauritius',), ('Malawi',), ('Malaysia',), ('North America',), ('Namibia',), ('New Caledonia',), ('Niger',), ('Nigeria',), ('Nicaragua',), ('Netherlands',), ('Norway',), ('Nepal',), ('New Zealand',), ('OECD members',), ('Oman',), ('Other small states',), ('Pakistan',), ('Panama',), ('Peru',), ('Philippines',), ('Papua New Guinea',), ('Poland',), ('Pre-demographic dividend',), ('Puerto Rico',), ('Korea, Dem. People’s Rep.',), ('Portugal',), ('Paraguay',), ('West Bank and Gaza',), ('Pacific island small states',), ('Post-demographic dividend',), ('French Polynesia',), ('Qatar',), ('Romania',), ('Russian Federation',), ('Rwanda',), ('South Asia',), ('Saudi Arabia',), ('Sudan',), ('Senegal',), ('Singapore',), ('Solomon Islands',), ('Sierra Leone',), ('El Salvador',), ('Somalia',), ('Serbia',), ('Sub-Saharan Africa (excluding high income)',), ('South Sudan',), ('Sub-Saharan Africa',), ('Small states',), ('Sao Tome and Principe',), ('Suriname',), ('Slovak Republic',), ('Slovenia',), ('Sweden',), ('Eswatini',), ('Syrian Arab Republic',), ('Chad',), ('East Asia & Pacific (IDA & IBRD countries)',), ('Europe & Central Asia (IDA & IBRD countries)',), ('Togo',), ('Thailand',), ('Tajikistan',), ('Turkmenistan',), ('Latin America & the Caribbean (IDA & IBRD countries)',), ('Timor-Leste',), ('Middle East & North Africa (IDA & IBRD countries)',), ('Tonga',), ('South Asia (IDA & IBRD)',), ('Sub-Saharan Africa (IDA & IBRD countries)',), ('Trinidad and Tobago',), ('Tunisia',), ('Turkey',), ('Tanzania',), ('Uganda',), ('Ukraine',), ('Upper middle income',), ('Uruguay',), ('United States',), ('Uzbekistan',), ('St. Vincent and the Grenadines',), ('Venezuela, RB',), ('Virgin Islands (U.S.)',), ('Vietnam',), ('Vanuatu',), ('World',), ('Samoa',), ('Yemen, Rep.',), ('South Africa',), ('Zambia',), ('Zimbabwe',)]\n",
      "<class 'list'>\n"
     ]
    }
   ],
   "source": [
    "男性劳动力参与率 = list(zip(list(dfb1.country)))\n",
    "print(男性劳动力参与率)\n",
    "print(type(男性劳动力参与率))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女性劳动力劳动参与率"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据清洗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {},
   "outputs": [],
   "source": [
    "dfc = pd.read_csv('Labor_force_participation_rate_ female.csv',encoding = 'utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>42.709000</td>\n",
       "      <td>42.735001</td>\n",
       "      <td>43.327999</td>\n",
       "      <td>44.117001</td>\n",
       "      <td>45.039001</td>\n",
       "      <td>46.016998</td>\n",
       "      <td>47.000999</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>48.473999</td>\n",
       "      <td>48.660000</td>\n",
       "      <td>48.848999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>75.255997</td>\n",
       "      <td>75.306999</td>\n",
       "      <td>75.344002</td>\n",
       "      <td>75.389000</td>\n",
       "      <td>75.432999</td>\n",
       "      <td>75.464996</td>\n",
       "      <td>75.478996</td>\n",
       "      <td>75.470001</td>\n",
       "      <td>75.450996</td>\n",
       "      <td>75.412003</td>\n",
       "      <td>75.372002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>44.945000</td>\n",
       "      <td>45.693001</td>\n",
       "      <td>47.104000</td>\n",
       "      <td>48.806000</td>\n",
       "      <td>44.650002</td>\n",
       "      <td>44.789001</td>\n",
       "      <td>47.675999</td>\n",
       "      <td>47.459000</td>\n",
       "      <td>47.312000</td>\n",
       "      <td>47.191002</td>\n",
       "      <td>47.081001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>20.052651</td>\n",
       "      <td>20.169026</td>\n",
       "      <td>20.268955</td>\n",
       "      <td>20.453085</td>\n",
       "      <td>20.753035</td>\n",
       "      <td>20.686165</td>\n",
       "      <td>20.492409</td>\n",
       "      <td>20.589288</td>\n",
       "      <td>20.536024</td>\n",
       "      <td>20.537448</td>\n",
       "      <td>20.525228</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>42.514999</td>\n",
       "      <td>44.028999</td>\n",
       "      <td>45.143002</td>\n",
       "      <td>46.213001</td>\n",
       "      <td>47.263000</td>\n",
       "      <td>48.323002</td>\n",
       "      <td>49.396000</td>\n",
       "      <td>50.161999</td>\n",
       "      <td>51.266998</td>\n",
       "      <td>51.148998</td>\n",
       "      <td>51.067001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>48.823002</td>\n",
       "      <td>47.833000</td>\n",
       "      <td>48.102001</td>\n",
       "      <td>48.188000</td>\n",
       "      <td>47.790001</td>\n",
       "      <td>47.157001</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.480000</td>\n",
       "      <td>49.118000</td>\n",
       "      <td>48.966999</td>\n",
       "      <td>48.813999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>48.299000</td>\n",
       "      <td>49.587002</td>\n",
       "      <td>52.091999</td>\n",
       "      <td>51.969002</td>\n",
       "      <td>52.631001</td>\n",
       "      <td>51.946999</td>\n",
       "      <td>51.166000</td>\n",
       "      <td>49.441002</td>\n",
       "      <td>49.419998</td>\n",
       "      <td>49.575001</td>\n",
       "      <td>49.674000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>American Samoa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>58.821999</td>\n",
       "      <td>58.706001</td>\n",
       "      <td>58.952000</td>\n",
       "      <td>58.826000</td>\n",
       "      <td>58.707001</td>\n",
       "      <td>58.648998</td>\n",
       "      <td>59.066002</td>\n",
       "      <td>59.247002</td>\n",
       "      <td>59.693001</td>\n",
       "      <td>59.645000</td>\n",
       "      <td>59.591000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>53.373001</td>\n",
       "      <td>53.507000</td>\n",
       "      <td>53.839001</td>\n",
       "      <td>54.337002</td>\n",
       "      <td>54.598999</td>\n",
       "      <td>54.562000</td>\n",
       "      <td>54.535999</td>\n",
       "      <td>54.945999</td>\n",
       "      <td>54.868999</td>\n",
       "      <td>54.826000</td>\n",
       "      <td>54.745998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>59.617001</td>\n",
       "      <td>60.223000</td>\n",
       "      <td>60.813999</td>\n",
       "      <td>61.104000</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.923000</td>\n",
       "      <td>62.516998</td>\n",
       "      <td>62.963001</td>\n",
       "      <td>63.262001</td>\n",
       "      <td>63.112999</td>\n",
       "      <td>62.916000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>80.610001</td>\n",
       "      <td>80.349998</td>\n",
       "      <td>80.112000</td>\n",
       "      <td>79.917999</td>\n",
       "      <td>79.748001</td>\n",
       "      <td>79.573998</td>\n",
       "      <td>79.844002</td>\n",
       "      <td>80.079002</td>\n",
       "      <td>80.286003</td>\n",
       "      <td>80.348999</td>\n",
       "      <td>80.363998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>46.745998</td>\n",
       "      <td>47.488998</td>\n",
       "      <td>46.805000</td>\n",
       "      <td>46.889000</td>\n",
       "      <td>47.594002</td>\n",
       "      <td>48.011002</td>\n",
       "      <td>48.023998</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>47.891998</td>\n",
       "      <td>47.889000</td>\n",
       "      <td>47.867001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>68.933998</td>\n",
       "      <td>69.223999</td>\n",
       "      <td>68.088997</td>\n",
       "      <td>68.207001</td>\n",
       "      <td>68.351997</td>\n",
       "      <td>68.512001</td>\n",
       "      <td>68.680000</td>\n",
       "      <td>68.835999</td>\n",
       "      <td>69.016998</td>\n",
       "      <td>69.176002</td>\n",
       "      <td>69.334999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>60.092999</td>\n",
       "      <td>59.717999</td>\n",
       "      <td>59.341000</td>\n",
       "      <td>58.971001</td>\n",
       "      <td>58.606998</td>\n",
       "      <td>58.249001</td>\n",
       "      <td>58.375999</td>\n",
       "      <td>58.497002</td>\n",
       "      <td>58.626999</td>\n",
       "      <td>58.462002</td>\n",
       "      <td>58.292000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>29.382000</td>\n",
       "      <td>29.882999</td>\n",
       "      <td>30.371000</td>\n",
       "      <td>30.864000</td>\n",
       "      <td>31.364000</td>\n",
       "      <td>31.871000</td>\n",
       "      <td>32.383999</td>\n",
       "      <td>32.889999</td>\n",
       "      <td>35.852001</td>\n",
       "      <td>35.999001</td>\n",
       "      <td>36.143002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>48.089001</td>\n",
       "      <td>47.698002</td>\n",
       "      <td>47.216999</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.528000</td>\n",
       "      <td>48.629002</td>\n",
       "      <td>48.632999</td>\n",
       "      <td>47.764999</td>\n",
       "      <td>49.626999</td>\n",
       "      <td>49.529999</td>\n",
       "      <td>49.416000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>42.604000</td>\n",
       "      <td>43.763000</td>\n",
       "      <td>43.004002</td>\n",
       "      <td>43.202999</td>\n",
       "      <td>43.404999</td>\n",
       "      <td>43.615002</td>\n",
       "      <td>43.800999</td>\n",
       "      <td>44.011002</td>\n",
       "      <td>44.352001</td>\n",
       "      <td>44.473000</td>\n",
       "      <td>44.612999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>68.639999</td>\n",
       "      <td>68.742996</td>\n",
       "      <td>68.555000</td>\n",
       "      <td>68.616997</td>\n",
       "      <td>68.436996</td>\n",
       "      <td>68.180000</td>\n",
       "      <td>67.744003</td>\n",
       "      <td>67.530998</td>\n",
       "      <td>67.527000</td>\n",
       "      <td>67.568001</td>\n",
       "      <td>67.540001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>37.223999</td>\n",
       "      <td>37.063999</td>\n",
       "      <td>36.837002</td>\n",
       "      <td>36.547001</td>\n",
       "      <td>36.273998</td>\n",
       "      <td>35.972000</td>\n",
       "      <td>35.667000</td>\n",
       "      <td>35.258999</td>\n",
       "      <td>35.726002</td>\n",
       "      <td>35.627998</td>\n",
       "      <td>35.521000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>57.152000</td>\n",
       "      <td>57.540001</td>\n",
       "      <td>57.861000</td>\n",
       "      <td>58.136002</td>\n",
       "      <td>58.358002</td>\n",
       "      <td>58.527000</td>\n",
       "      <td>58.641998</td>\n",
       "      <td>58.665001</td>\n",
       "      <td>58.395000</td>\n",
       "      <td>58.126999</td>\n",
       "      <td>57.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>50.747002</td>\n",
       "      <td>51.938000</td>\n",
       "      <td>53.235001</td>\n",
       "      <td>54.527000</td>\n",
       "      <td>53.701000</td>\n",
       "      <td>52.930000</td>\n",
       "      <td>52.212002</td>\n",
       "      <td>52.768002</td>\n",
       "      <td>52.924999</td>\n",
       "      <td>53.280998</td>\n",
       "      <td>53.648998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>62.367001</td>\n",
       "      <td>62.019001</td>\n",
       "      <td>61.651001</td>\n",
       "      <td>57.944000</td>\n",
       "      <td>58.820999</td>\n",
       "      <td>60.900002</td>\n",
       "      <td>54.508999</td>\n",
       "      <td>60.321999</td>\n",
       "      <td>56.585999</td>\n",
       "      <td>56.595001</td>\n",
       "      <td>56.611000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>54.966000</td>\n",
       "      <td>53.576000</td>\n",
       "      <td>52.173000</td>\n",
       "      <td>53.077999</td>\n",
       "      <td>52.976002</td>\n",
       "      <td>52.860001</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.320999</td>\n",
       "      <td>54.167999</td>\n",
       "      <td>54.029999</td>\n",
       "      <td>53.882000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>63.606998</td>\n",
       "      <td>63.492001</td>\n",
       "      <td>63.287998</td>\n",
       "      <td>62.061001</td>\n",
       "      <td>63.230999</td>\n",
       "      <td>61.855999</td>\n",
       "      <td>61.860001</td>\n",
       "      <td>62.568001</td>\n",
       "      <td>62.234001</td>\n",
       "      <td>61.894001</td>\n",
       "      <td>61.528000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>56.659000</td>\n",
       "      <td>56.928001</td>\n",
       "      <td>57.191002</td>\n",
       "      <td>57.416000</td>\n",
       "      <td>57.618000</td>\n",
       "      <td>57.810001</td>\n",
       "      <td>58.000000</td>\n",
       "      <td>58.188000</td>\n",
       "      <td>58.362000</td>\n",
       "      <td>58.220001</td>\n",
       "      <td>58.071999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>51.629659</td>\n",
       "      <td>51.185245</td>\n",
       "      <td>50.864398</td>\n",
       "      <td>51.698867</td>\n",
       "      <td>51.559410</td>\n",
       "      <td>51.260341</td>\n",
       "      <td>51.521785</td>\n",
       "      <td>51.721148</td>\n",
       "      <td>52.035162</td>\n",
       "      <td>52.052128</td>\n",
       "      <td>52.059513</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>27.209000</td>\n",
       "      <td>26.469000</td>\n",
       "      <td>26.180000</td>\n",
       "      <td>25.913000</td>\n",
       "      <td>25.681000</td>\n",
       "      <td>25.450001</td>\n",
       "      <td>25.270000</td>\n",
       "      <td>25.160000</td>\n",
       "      <td>25.202000</td>\n",
       "      <td>25.034000</td>\n",
       "      <td>24.851000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>18.371887</td>\n",
       "      <td>18.220439</td>\n",
       "      <td>17.979422</td>\n",
       "      <td>17.871078</td>\n",
       "      <td>17.951179</td>\n",
       "      <td>17.612709</td>\n",
       "      <td>17.575307</td>\n",
       "      <td>18.002983</td>\n",
       "      <td>17.846133</td>\n",
       "      <td>17.801293</td>\n",
       "      <td>17.738633</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>45.432999</td>\n",
       "      <td>45.334999</td>\n",
       "      <td>45.306999</td>\n",
       "      <td>45.316002</td>\n",
       "      <td>45.358002</td>\n",
       "      <td>45.323002</td>\n",
       "      <td>45.230000</td>\n",
       "      <td>45.244999</td>\n",
       "      <td>45.251999</td>\n",
       "      <td>45.250000</td>\n",
       "      <td>45.209999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>27.832411</td>\n",
       "      <td>27.050263</td>\n",
       "      <td>26.050446</td>\n",
       "      <td>25.082699</td>\n",
       "      <td>25.354484</td>\n",
       "      <td>25.580315</td>\n",
       "      <td>25.875504</td>\n",
       "      <td>26.062319</td>\n",
       "      <td>26.460767</td>\n",
       "      <td>26.371171</td>\n",
       "      <td>26.278402</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>61.260450</td>\n",
       "      <td>60.996748</td>\n",
       "      <td>60.923675</td>\n",
       "      <td>60.850175</td>\n",
       "      <td>60.929255</td>\n",
       "      <td>60.901829</td>\n",
       "      <td>61.045061</td>\n",
       "      <td>61.152641</td>\n",
       "      <td>61.363740</td>\n",
       "      <td>61.381375</td>\n",
       "      <td>61.395935</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>51.660999</td>\n",
       "      <td>51.025002</td>\n",
       "      <td>50.359001</td>\n",
       "      <td>51.640999</td>\n",
       "      <td>51.896000</td>\n",
       "      <td>52.256001</td>\n",
       "      <td>50.848999</td>\n",
       "      <td>51.210999</td>\n",
       "      <td>50.511002</td>\n",
       "      <td>50.354000</td>\n",
       "      <td>50.147999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>24.385000</td>\n",
       "      <td>24.459999</td>\n",
       "      <td>24.445999</td>\n",
       "      <td>25.245001</td>\n",
       "      <td>25.143000</td>\n",
       "      <td>24.933001</td>\n",
       "      <td>24.726999</td>\n",
       "      <td>24.468000</td>\n",
       "      <td>24.226000</td>\n",
       "      <td>24.080000</td>\n",
       "      <td>23.909000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>25.478001</td>\n",
       "      <td>27.033001</td>\n",
       "      <td>28.323000</td>\n",
       "      <td>28.879000</td>\n",
       "      <td>30.101999</td>\n",
       "      <td>30.243000</td>\n",
       "      <td>31.475000</td>\n",
       "      <td>32.507000</td>\n",
       "      <td>33.571999</td>\n",
       "      <td>33.520000</td>\n",
       "      <td>33.458000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>Tuvalu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>84.781998</td>\n",
       "      <td>83.900002</td>\n",
       "      <td>82.952003</td>\n",
       "      <td>81.917000</td>\n",
       "      <td>80.780998</td>\n",
       "      <td>79.533997</td>\n",
       "      <td>79.553001</td>\n",
       "      <td>79.570000</td>\n",
       "      <td>79.577003</td>\n",
       "      <td>79.389000</td>\n",
       "      <td>79.203003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>65.688004</td>\n",
       "      <td>65.876999</td>\n",
       "      <td>66.081001</td>\n",
       "      <td>66.291000</td>\n",
       "      <td>66.430000</td>\n",
       "      <td>66.582001</td>\n",
       "      <td>66.744003</td>\n",
       "      <td>66.885002</td>\n",
       "      <td>67.037003</td>\n",
       "      <td>67.151001</td>\n",
       "      <td>67.269997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>48.445000</td>\n",
       "      <td>48.410000</td>\n",
       "      <td>48.250999</td>\n",
       "      <td>47.485001</td>\n",
       "      <td>48.376999</td>\n",
       "      <td>47.040001</td>\n",
       "      <td>47.360001</td>\n",
       "      <td>47.075001</td>\n",
       "      <td>46.938000</td>\n",
       "      <td>46.679001</td>\n",
       "      <td>46.396999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>56.201803</td>\n",
       "      <td>55.670890</td>\n",
       "      <td>55.570200</td>\n",
       "      <td>55.603981</td>\n",
       "      <td>55.382775</td>\n",
       "      <td>55.061678</td>\n",
       "      <td>54.994629</td>\n",
       "      <td>54.828160</td>\n",
       "      <td>54.693724</td>\n",
       "      <td>54.296955</td>\n",
       "      <td>53.875677</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>55.616001</td>\n",
       "      <td>55.334000</td>\n",
       "      <td>55.978001</td>\n",
       "      <td>55.787998</td>\n",
       "      <td>54.973999</td>\n",
       "      <td>55.965000</td>\n",
       "      <td>55.724998</td>\n",
       "      <td>55.926998</td>\n",
       "      <td>55.597000</td>\n",
       "      <td>55.771000</td>\n",
       "      <td>55.931000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>58.144001</td>\n",
       "      <td>57.501999</td>\n",
       "      <td>56.930000</td>\n",
       "      <td>56.701000</td>\n",
       "      <td>56.292000</td>\n",
       "      <td>56.111000</td>\n",
       "      <td>55.834000</td>\n",
       "      <td>55.993999</td>\n",
       "      <td>56.313000</td>\n",
       "      <td>56.047001</td>\n",
       "      <td>55.778000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>52.606998</td>\n",
       "      <td>52.736000</td>\n",
       "      <td>52.865002</td>\n",
       "      <td>52.997002</td>\n",
       "      <td>53.129002</td>\n",
       "      <td>53.244999</td>\n",
       "      <td>53.327999</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.419998</td>\n",
       "      <td>53.412998</td>\n",
       "      <td>53.355999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>56.441002</td>\n",
       "      <td>56.416000</td>\n",
       "      <td>56.487000</td>\n",
       "      <td>56.708000</td>\n",
       "      <td>56.938999</td>\n",
       "      <td>57.042999</td>\n",
       "      <td>57.071999</td>\n",
       "      <td>57.206001</td>\n",
       "      <td>57.195999</td>\n",
       "      <td>57.278999</td>\n",
       "      <td>57.313999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>51.095001</td>\n",
       "      <td>50.619999</td>\n",
       "      <td>50.995998</td>\n",
       "      <td>50.584000</td>\n",
       "      <td>50.773998</td>\n",
       "      <td>50.542000</td>\n",
       "      <td>50.122002</td>\n",
       "      <td>48.775002</td>\n",
       "      <td>47.694000</td>\n",
       "      <td>47.743000</td>\n",
       "      <td>47.783001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>British Virgin Islands</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>58.008999</td>\n",
       "      <td>57.865002</td>\n",
       "      <td>57.429001</td>\n",
       "      <td>56.706001</td>\n",
       "      <td>56.375999</td>\n",
       "      <td>56.105999</td>\n",
       "      <td>55.855000</td>\n",
       "      <td>55.743000</td>\n",
       "      <td>55.769001</td>\n",
       "      <td>55.617001</td>\n",
       "      <td>55.433998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>71.398003</td>\n",
       "      <td>71.305000</td>\n",
       "      <td>71.459999</td>\n",
       "      <td>71.969002</td>\n",
       "      <td>72.902000</td>\n",
       "      <td>73.195000</td>\n",
       "      <td>72.945999</td>\n",
       "      <td>72.642998</td>\n",
       "      <td>72.697998</td>\n",
       "      <td>72.649002</td>\n",
       "      <td>72.541000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>61.069000</td>\n",
       "      <td>61.241001</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.354000</td>\n",
       "      <td>61.379002</td>\n",
       "      <td>61.411999</td>\n",
       "      <td>61.584999</td>\n",
       "      <td>61.528000</td>\n",
       "      <td>61.484001</td>\n",
       "      <td>61.507999</td>\n",
       "      <td>61.533001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>49.091606</td>\n",
       "      <td>48.677926</td>\n",
       "      <td>48.363017</td>\n",
       "      <td>48.164190</td>\n",
       "      <td>48.114513</td>\n",
       "      <td>48.033072</td>\n",
       "      <td>48.025554</td>\n",
       "      <td>48.027061</td>\n",
       "      <td>48.089157</td>\n",
       "      <td>47.883420</td>\n",
       "      <td>47.662671</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>24.337999</td>\n",
       "      <td>24.301001</td>\n",
       "      <td>24.173000</td>\n",
       "      <td>24.118000</td>\n",
       "      <td>24.091000</td>\n",
       "      <td>24.011999</td>\n",
       "      <td>23.916000</td>\n",
       "      <td>23.799000</td>\n",
       "      <td>23.740000</td>\n",
       "      <td>23.674999</td>\n",
       "      <td>23.587999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>Kosovo</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>10.798000</td>\n",
       "      <td>10.049000</td>\n",
       "      <td>8.848000</td>\n",
       "      <td>7.799000</td>\n",
       "      <td>6.884000</td>\n",
       "      <td>6.083000</td>\n",
       "      <td>6.106000</td>\n",
       "      <td>6.117000</td>\n",
       "      <td>6.138000</td>\n",
       "      <td>5.983000</td>\n",
       "      <td>5.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>46.286999</td>\n",
       "      <td>44.728001</td>\n",
       "      <td>45.198002</td>\n",
       "      <td>45.418999</td>\n",
       "      <td>46.387001</td>\n",
       "      <td>46.612000</td>\n",
       "      <td>47.801998</td>\n",
       "      <td>47.797001</td>\n",
       "      <td>48.922001</td>\n",
       "      <td>48.848999</td>\n",
       "      <td>48.768002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>71.610001</td>\n",
       "      <td>71.059998</td>\n",
       "      <td>70.542999</td>\n",
       "      <td>70.021004</td>\n",
       "      <td>70.155998</td>\n",
       "      <td>70.295998</td>\n",
       "      <td>70.445000</td>\n",
       "      <td>70.585999</td>\n",
       "      <td>70.733002</td>\n",
       "      <td>70.752998</td>\n",
       "      <td>70.785004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>77.295998</td>\n",
       "      <td>77.362000</td>\n",
       "      <td>77.492996</td>\n",
       "      <td>77.649002</td>\n",
       "      <td>77.796997</td>\n",
       "      <td>77.935997</td>\n",
       "      <td>78.069000</td>\n",
       "      <td>78.219002</td>\n",
       "      <td>78.387001</td>\n",
       "      <td>78.568001</td>\n",
       "      <td>78.733002</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "0                                                Aruba        NaN        NaN   \n",
       "1                                          Afghanistan  42.709000  42.735001   \n",
       "2                                               Angola  75.255997  75.306999   \n",
       "3                                              Albania  44.945000  45.693001   \n",
       "4                                              Andorra        NaN        NaN   \n",
       "5                                           Arab World  20.052651  20.169026   \n",
       "6                                 United Arab Emirates  42.514999  44.028999   \n",
       "7                                            Argentina  48.823002  47.833000   \n",
       "8                                              Armenia  48.299000  49.587002   \n",
       "9                                       American Samoa        NaN        NaN   \n",
       "10                                 Antigua and Barbuda        NaN        NaN   \n",
       "11                                           Australia  58.821999  58.706001   \n",
       "12                                             Austria  53.373001  53.507000   \n",
       "13                                          Azerbaijan  59.617001  60.223000   \n",
       "14                                             Burundi  80.610001  80.349998   \n",
       "15                                             Belgium  46.745998  47.488998   \n",
       "16                                               Benin  68.933998  69.223999   \n",
       "17                                        Burkina Faso  60.092999  59.717999   \n",
       "18                                          Bangladesh  29.382000  29.882999   \n",
       "19                                            Bulgaria  48.089001  47.698002   \n",
       "20                                             Bahrain  42.604000  43.763000   \n",
       "21                                        Bahamas, The  68.639999  68.742996   \n",
       "22                              Bosnia and Herzegovina  37.223999  37.063999   \n",
       "23                                             Belarus  57.152000  57.540001   \n",
       "24                                              Belize  50.747002  51.938000   \n",
       "25                                             Bermuda        NaN        NaN   \n",
       "26                                             Bolivia  62.367001  62.019001   \n",
       "27                                              Brazil  54.966000  53.576000   \n",
       "28                                            Barbados  63.606998  63.492001   \n",
       "29                                   Brunei Darussalam  56.659000  56.928001   \n",
       "..                                                 ...        ...        ...   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  51.629659  51.185245   \n",
       "235                                        Timor-Leste  27.209000  26.469000   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  18.371887  18.220439   \n",
       "237                                              Tonga  45.432999  45.334999   \n",
       "238                            South Asia (IDA & IBRD)  27.832411  27.050263   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  61.260450  60.996748   \n",
       "240                                Trinidad and Tobago  51.660999  51.025002   \n",
       "241                                            Tunisia  24.385000  24.459999   \n",
       "242                                             Turkey  25.478001  27.033001   \n",
       "243                                             Tuvalu        NaN        NaN   \n",
       "244                                           Tanzania  84.781998  83.900002   \n",
       "245                                             Uganda  65.688004  65.876999   \n",
       "246                                            Ukraine  48.445000  48.410000   \n",
       "247                                Upper middle income  56.201803  55.670890   \n",
       "248                                            Uruguay  55.616001  55.334000   \n",
       "249                                      United States  58.144001  57.501999   \n",
       "250                                         Uzbekistan  52.606998  52.736000   \n",
       "251                     St. Vincent and the Grenadines  56.441002  56.416000   \n",
       "252                                      Venezuela, RB  51.095001  50.619999   \n",
       "253                             British Virgin Islands        NaN        NaN   \n",
       "254                              Virgin Islands (U.S.)  58.008999  57.865002   \n",
       "255                                            Vietnam  71.398003  71.305000   \n",
       "256                                            Vanuatu  61.069000  61.241001   \n",
       "257                                              World  49.091606  48.677926   \n",
       "258                                              Samoa  24.337999  24.301001   \n",
       "259                                             Kosovo        NaN        NaN   \n",
       "260                                        Yemen, Rep.  10.798000  10.049000   \n",
       "261                                       South Africa  46.286999  44.728001   \n",
       "262                                             Zambia  71.610001  71.059998   \n",
       "263                                           Zimbabwe  77.295998  77.362000   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "0          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "1    43.327999  44.117001  45.039001  46.016998  47.000999  47.765999   \n",
       "2    75.344002  75.389000  75.432999  75.464996  75.478996  75.470001   \n",
       "3    47.104000  48.806000  44.650002  44.789001  47.675999  47.459000   \n",
       "4          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "5    20.268955  20.453085  20.753035  20.686165  20.492409  20.589288   \n",
       "6    45.143002  46.213001  47.263000  48.323002  49.396000  50.161999   \n",
       "7    48.102001  48.188000  47.790001  47.157001  47.825001  48.480000   \n",
       "8    52.091999  51.969002  52.631001  51.946999  51.166000  49.441002   \n",
       "9          NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "10         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "11   58.952000  58.826000  58.707001  58.648998  59.066002  59.247002   \n",
       "12   53.839001  54.337002  54.598999  54.562000  54.535999  54.945999   \n",
       "13   60.813999  61.104000  61.323002  61.923000  62.516998  62.963001   \n",
       "14   80.112000  79.917999  79.748001  79.573998  79.844002  80.079002   \n",
       "15   46.805000  46.889000  47.594002  48.011002  48.023998  47.765999   \n",
       "16   68.088997  68.207001  68.351997  68.512001  68.680000  68.835999   \n",
       "17   59.341000  58.971001  58.606998  58.249001  58.375999  58.497002   \n",
       "18   30.371000  30.864000  31.364000  31.871000  32.383999  32.889999   \n",
       "19   47.216999  47.825001  48.528000  48.629002  48.632999  47.764999   \n",
       "20   43.004002  43.202999  43.404999  43.615002  43.800999  44.011002   \n",
       "21   68.555000  68.616997  68.436996  68.180000  67.744003  67.530998   \n",
       "22   36.837002  36.547001  36.273998  35.972000  35.667000  35.258999   \n",
       "23   57.861000  58.136002  58.358002  58.527000  58.641998  58.665001   \n",
       "24   53.235001  54.527000  53.701000  52.930000  52.212002  52.768002   \n",
       "25         NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "26   61.651001  57.944000  58.820999  60.900002  54.508999  60.321999   \n",
       "27   52.173000  53.077999  52.976002  52.860001  53.377998  53.320999   \n",
       "28   63.287998  62.061001  63.230999  61.855999  61.860001  62.568001   \n",
       "29   57.191002  57.416000  57.618000  57.810001  58.000000  58.188000   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "234  50.864398  51.698867  51.559410  51.260341  51.521785  51.721148   \n",
       "235  26.180000  25.913000  25.681000  25.450001  25.270000  25.160000   \n",
       "236  17.979422  17.871078  17.951179  17.612709  17.575307  18.002983   \n",
       "237  45.306999  45.316002  45.358002  45.323002  45.230000  45.244999   \n",
       "238  26.050446  25.082699  25.354484  25.580315  25.875504  26.062319   \n",
       "239  60.923675  60.850175  60.929255  60.901829  61.045061  61.152641   \n",
       "240  50.359001  51.640999  51.896000  52.256001  50.848999  51.210999   \n",
       "241  24.445999  25.245001  25.143000  24.933001  24.726999  24.468000   \n",
       "242  28.323000  28.879000  30.101999  30.243000  31.475000  32.507000   \n",
       "243        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "244  82.952003  81.917000  80.780998  79.533997  79.553001  79.570000   \n",
       "245  66.081001  66.291000  66.430000  66.582001  66.744003  66.885002   \n",
       "246  48.250999  47.485001  48.376999  47.040001  47.360001  47.075001   \n",
       "247  55.570200  55.603981  55.382775  55.061678  54.994629  54.828160   \n",
       "248  55.978001  55.787998  54.973999  55.965000  55.724998  55.926998   \n",
       "249  56.930000  56.701000  56.292000  56.111000  55.834000  55.993999   \n",
       "250  52.865002  52.997002  53.129002  53.244999  53.327999  53.377998   \n",
       "251  56.487000  56.708000  56.938999  57.042999  57.071999  57.206001   \n",
       "252  50.995998  50.584000  50.773998  50.542000  50.122002  48.775002   \n",
       "253        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "254  57.429001  56.706001  56.375999  56.105999  55.855000  55.743000   \n",
       "255  71.459999  71.969002  72.902000  73.195000  72.945999  72.642998   \n",
       "256  61.323002  61.354000  61.379002  61.411999  61.584999  61.528000   \n",
       "257  48.363017  48.164190  48.114513  48.033072  48.025554  48.027061   \n",
       "258  24.173000  24.118000  24.091000  24.011999  23.916000  23.799000   \n",
       "259        NaN        NaN        NaN        NaN        NaN        NaN   \n",
       "260   8.848000   7.799000   6.884000   6.083000   6.106000   6.117000   \n",
       "261  45.198002  45.418999  46.387001  46.612000  47.801998  47.797001   \n",
       "262  70.542999  70.021004  70.155998  70.295998  70.445000  70.585999   \n",
       "263  77.492996  77.649002  77.796997  77.935997  78.069000  78.219002   \n",
       "\n",
       "          2017       2018       2019  \n",
       "0          NaN        NaN        NaN  \n",
       "1    48.473999  48.660000  48.848999  \n",
       "2    75.450996  75.412003  75.372002  \n",
       "3    47.312000  47.191002  47.081001  \n",
       "4          NaN        NaN        NaN  \n",
       "5    20.536024  20.537448  20.525228  \n",
       "6    51.266998  51.148998  51.067001  \n",
       "7    49.118000  48.966999  48.813999  \n",
       "8    49.419998  49.575001  49.674000  \n",
       "9          NaN        NaN        NaN  \n",
       "10         NaN        NaN        NaN  \n",
       "11   59.693001  59.645000  59.591000  \n",
       "12   54.868999  54.826000  54.745998  \n",
       "13   63.262001  63.112999  62.916000  \n",
       "14   80.286003  80.348999  80.363998  \n",
       "15   47.891998  47.889000  47.867001  \n",
       "16   69.016998  69.176002  69.334999  \n",
       "17   58.626999  58.462002  58.292000  \n",
       "18   35.852001  35.999001  36.143002  \n",
       "19   49.626999  49.529999  49.416000  \n",
       "20   44.352001  44.473000  44.612999  \n",
       "21   67.527000  67.568001  67.540001  \n",
       "22   35.726002  35.627998  35.521000  \n",
       "23   58.395000  58.126999  57.827000  \n",
       "24   52.924999  53.280998  53.648998  \n",
       "25         NaN        NaN        NaN  \n",
       "26   56.585999  56.595001  56.611000  \n",
       "27   54.167999  54.029999  53.882000  \n",
       "28   62.234001  61.894001  61.528000  \n",
       "29   58.362000  58.220001  58.071999  \n",
       "..         ...        ...        ...  \n",
       "234  52.035162  52.052128  52.059513  \n",
       "235  25.202000  25.034000  24.851000  \n",
       "236  17.846133  17.801293  17.738633  \n",
       "237  45.251999  45.250000  45.209999  \n",
       "238  26.460767  26.371171  26.278402  \n",
       "239  61.363740  61.381375  61.395935  \n",
       "240  50.511002  50.354000  50.147999  \n",
       "241  24.226000  24.080000  23.909000  \n",
       "242  33.571999  33.520000  33.458000  \n",
       "243        NaN        NaN        NaN  \n",
       "244  79.577003  79.389000  79.203003  \n",
       "245  67.037003  67.151001  67.269997  \n",
       "246  46.938000  46.679001  46.396999  \n",
       "247  54.693724  54.296955  53.875677  \n",
       "248  55.597000  55.771000  55.931000  \n",
       "249  56.313000  56.047001  55.778000  \n",
       "250  53.419998  53.412998  53.355999  \n",
       "251  57.195999  57.278999  57.313999  \n",
       "252  47.694000  47.743000  47.783001  \n",
       "253        NaN        NaN        NaN  \n",
       "254  55.769001  55.617001  55.433998  \n",
       "255  72.697998  72.649002  72.541000  \n",
       "256  61.484001  61.507999  61.533001  \n",
       "257  48.089157  47.883420  47.662671  \n",
       "258  23.740000  23.674999  23.587999  \n",
       "259        NaN        NaN        NaN  \n",
       "260   6.138000   5.983000   5.827000  \n",
       "261  48.922001  48.848999  48.768002  \n",
       "262  70.733002  70.752998  70.785004  \n",
       "263  78.387001  78.568001  78.733002  \n",
       "\n",
       "[264 rows x 12 columns]"
      ]
     },
     "execution_count": 18,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfc"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>42.709000</td>\n",
       "      <td>42.735001</td>\n",
       "      <td>43.327999</td>\n",
       "      <td>44.117001</td>\n",
       "      <td>45.039001</td>\n",
       "      <td>46.016998</td>\n",
       "      <td>47.000999</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>48.473999</td>\n",
       "      <td>48.660000</td>\n",
       "      <td>48.848999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>75.255997</td>\n",
       "      <td>75.306999</td>\n",
       "      <td>75.344002</td>\n",
       "      <td>75.389000</td>\n",
       "      <td>75.432999</td>\n",
       "      <td>75.464996</td>\n",
       "      <td>75.478996</td>\n",
       "      <td>75.470001</td>\n",
       "      <td>75.450996</td>\n",
       "      <td>75.412003</td>\n",
       "      <td>75.372002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>44.945000</td>\n",
       "      <td>45.693001</td>\n",
       "      <td>47.104000</td>\n",
       "      <td>48.806000</td>\n",
       "      <td>44.650002</td>\n",
       "      <td>44.789001</td>\n",
       "      <td>47.675999</td>\n",
       "      <td>47.459000</td>\n",
       "      <td>47.312000</td>\n",
       "      <td>47.191002</td>\n",
       "      <td>47.081001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>20.052651</td>\n",
       "      <td>20.169026</td>\n",
       "      <td>20.268955</td>\n",
       "      <td>20.453085</td>\n",
       "      <td>20.753035</td>\n",
       "      <td>20.686165</td>\n",
       "      <td>20.492409</td>\n",
       "      <td>20.589288</td>\n",
       "      <td>20.536024</td>\n",
       "      <td>20.537448</td>\n",
       "      <td>20.525228</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>42.514999</td>\n",
       "      <td>44.028999</td>\n",
       "      <td>45.143002</td>\n",
       "      <td>46.213001</td>\n",
       "      <td>47.263000</td>\n",
       "      <td>48.323002</td>\n",
       "      <td>49.396000</td>\n",
       "      <td>50.161999</td>\n",
       "      <td>51.266998</td>\n",
       "      <td>51.148998</td>\n",
       "      <td>51.067001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>48.823002</td>\n",
       "      <td>47.833000</td>\n",
       "      <td>48.102001</td>\n",
       "      <td>48.188000</td>\n",
       "      <td>47.790001</td>\n",
       "      <td>47.157001</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.480000</td>\n",
       "      <td>49.118000</td>\n",
       "      <td>48.966999</td>\n",
       "      <td>48.813999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>48.299000</td>\n",
       "      <td>49.587002</td>\n",
       "      <td>52.091999</td>\n",
       "      <td>51.969002</td>\n",
       "      <td>52.631001</td>\n",
       "      <td>51.946999</td>\n",
       "      <td>51.166000</td>\n",
       "      <td>49.441002</td>\n",
       "      <td>49.419998</td>\n",
       "      <td>49.575001</td>\n",
       "      <td>49.674000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>58.821999</td>\n",
       "      <td>58.706001</td>\n",
       "      <td>58.952000</td>\n",
       "      <td>58.826000</td>\n",
       "      <td>58.707001</td>\n",
       "      <td>58.648998</td>\n",
       "      <td>59.066002</td>\n",
       "      <td>59.247002</td>\n",
       "      <td>59.693001</td>\n",
       "      <td>59.645000</td>\n",
       "      <td>59.591000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>53.373001</td>\n",
       "      <td>53.507000</td>\n",
       "      <td>53.839001</td>\n",
       "      <td>54.337002</td>\n",
       "      <td>54.598999</td>\n",
       "      <td>54.562000</td>\n",
       "      <td>54.535999</td>\n",
       "      <td>54.945999</td>\n",
       "      <td>54.868999</td>\n",
       "      <td>54.826000</td>\n",
       "      <td>54.745998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>59.617001</td>\n",
       "      <td>60.223000</td>\n",
       "      <td>60.813999</td>\n",
       "      <td>61.104000</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.923000</td>\n",
       "      <td>62.516998</td>\n",
       "      <td>62.963001</td>\n",
       "      <td>63.262001</td>\n",
       "      <td>63.112999</td>\n",
       "      <td>62.916000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>80.610001</td>\n",
       "      <td>80.349998</td>\n",
       "      <td>80.112000</td>\n",
       "      <td>79.917999</td>\n",
       "      <td>79.748001</td>\n",
       "      <td>79.573998</td>\n",
       "      <td>79.844002</td>\n",
       "      <td>80.079002</td>\n",
       "      <td>80.286003</td>\n",
       "      <td>80.348999</td>\n",
       "      <td>80.363998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>46.745998</td>\n",
       "      <td>47.488998</td>\n",
       "      <td>46.805000</td>\n",
       "      <td>46.889000</td>\n",
       "      <td>47.594002</td>\n",
       "      <td>48.011002</td>\n",
       "      <td>48.023998</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>47.891998</td>\n",
       "      <td>47.889000</td>\n",
       "      <td>47.867001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>68.933998</td>\n",
       "      <td>69.223999</td>\n",
       "      <td>68.088997</td>\n",
       "      <td>68.207001</td>\n",
       "      <td>68.351997</td>\n",
       "      <td>68.512001</td>\n",
       "      <td>68.680000</td>\n",
       "      <td>68.835999</td>\n",
       "      <td>69.016998</td>\n",
       "      <td>69.176002</td>\n",
       "      <td>69.334999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>60.092999</td>\n",
       "      <td>59.717999</td>\n",
       "      <td>59.341000</td>\n",
       "      <td>58.971001</td>\n",
       "      <td>58.606998</td>\n",
       "      <td>58.249001</td>\n",
       "      <td>58.375999</td>\n",
       "      <td>58.497002</td>\n",
       "      <td>58.626999</td>\n",
       "      <td>58.462002</td>\n",
       "      <td>58.292000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>29.382000</td>\n",
       "      <td>29.882999</td>\n",
       "      <td>30.371000</td>\n",
       "      <td>30.864000</td>\n",
       "      <td>31.364000</td>\n",
       "      <td>31.871000</td>\n",
       "      <td>32.383999</td>\n",
       "      <td>32.889999</td>\n",
       "      <td>35.852001</td>\n",
       "      <td>35.999001</td>\n",
       "      <td>36.143002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>48.089001</td>\n",
       "      <td>47.698002</td>\n",
       "      <td>47.216999</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.528000</td>\n",
       "      <td>48.629002</td>\n",
       "      <td>48.632999</td>\n",
       "      <td>47.764999</td>\n",
       "      <td>49.626999</td>\n",
       "      <td>49.529999</td>\n",
       "      <td>49.416000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>42.604000</td>\n",
       "      <td>43.763000</td>\n",
       "      <td>43.004002</td>\n",
       "      <td>43.202999</td>\n",
       "      <td>43.404999</td>\n",
       "      <td>43.615002</td>\n",
       "      <td>43.800999</td>\n",
       "      <td>44.011002</td>\n",
       "      <td>44.352001</td>\n",
       "      <td>44.473000</td>\n",
       "      <td>44.612999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>68.639999</td>\n",
       "      <td>68.742996</td>\n",
       "      <td>68.555000</td>\n",
       "      <td>68.616997</td>\n",
       "      <td>68.436996</td>\n",
       "      <td>68.180000</td>\n",
       "      <td>67.744003</td>\n",
       "      <td>67.530998</td>\n",
       "      <td>67.527000</td>\n",
       "      <td>67.568001</td>\n",
       "      <td>67.540001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>37.223999</td>\n",
       "      <td>37.063999</td>\n",
       "      <td>36.837002</td>\n",
       "      <td>36.547001</td>\n",
       "      <td>36.273998</td>\n",
       "      <td>35.972000</td>\n",
       "      <td>35.667000</td>\n",
       "      <td>35.258999</td>\n",
       "      <td>35.726002</td>\n",
       "      <td>35.627998</td>\n",
       "      <td>35.521000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>57.152000</td>\n",
       "      <td>57.540001</td>\n",
       "      <td>57.861000</td>\n",
       "      <td>58.136002</td>\n",
       "      <td>58.358002</td>\n",
       "      <td>58.527000</td>\n",
       "      <td>58.641998</td>\n",
       "      <td>58.665001</td>\n",
       "      <td>58.395000</td>\n",
       "      <td>58.126999</td>\n",
       "      <td>57.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>50.747002</td>\n",
       "      <td>51.938000</td>\n",
       "      <td>53.235001</td>\n",
       "      <td>54.527000</td>\n",
       "      <td>53.701000</td>\n",
       "      <td>52.930000</td>\n",
       "      <td>52.212002</td>\n",
       "      <td>52.768002</td>\n",
       "      <td>52.924999</td>\n",
       "      <td>53.280998</td>\n",
       "      <td>53.648998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>62.367001</td>\n",
       "      <td>62.019001</td>\n",
       "      <td>61.651001</td>\n",
       "      <td>57.944000</td>\n",
       "      <td>58.820999</td>\n",
       "      <td>60.900002</td>\n",
       "      <td>54.508999</td>\n",
       "      <td>60.321999</td>\n",
       "      <td>56.585999</td>\n",
       "      <td>56.595001</td>\n",
       "      <td>56.611000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>54.966000</td>\n",
       "      <td>53.576000</td>\n",
       "      <td>52.173000</td>\n",
       "      <td>53.077999</td>\n",
       "      <td>52.976002</td>\n",
       "      <td>52.860001</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.320999</td>\n",
       "      <td>54.167999</td>\n",
       "      <td>54.029999</td>\n",
       "      <td>53.882000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>63.606998</td>\n",
       "      <td>63.492001</td>\n",
       "      <td>63.287998</td>\n",
       "      <td>62.061001</td>\n",
       "      <td>63.230999</td>\n",
       "      <td>61.855999</td>\n",
       "      <td>61.860001</td>\n",
       "      <td>62.568001</td>\n",
       "      <td>62.234001</td>\n",
       "      <td>61.894001</td>\n",
       "      <td>61.528000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>56.659000</td>\n",
       "      <td>56.928001</td>\n",
       "      <td>57.191002</td>\n",
       "      <td>57.416000</td>\n",
       "      <td>57.618000</td>\n",
       "      <td>57.810001</td>\n",
       "      <td>58.000000</td>\n",
       "      <td>58.188000</td>\n",
       "      <td>58.362000</td>\n",
       "      <td>58.220001</td>\n",
       "      <td>58.071999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>Bhutan</td>\n",
       "      <td>67.111000</td>\n",
       "      <td>64.556999</td>\n",
       "      <td>62.270000</td>\n",
       "      <td>63.502998</td>\n",
       "      <td>58.187000</td>\n",
       "      <td>54.931000</td>\n",
       "      <td>57.764999</td>\n",
       "      <td>57.895000</td>\n",
       "      <td>57.979000</td>\n",
       "      <td>58.202999</td>\n",
       "      <td>58.389000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>Botswana</td>\n",
       "      <td>56.265999</td>\n",
       "      <td>53.546001</td>\n",
       "      <td>57.425999</td>\n",
       "      <td>61.106998</td>\n",
       "      <td>64.554001</td>\n",
       "      <td>64.907997</td>\n",
       "      <td>65.231003</td>\n",
       "      <td>65.524002</td>\n",
       "      <td>65.836998</td>\n",
       "      <td>66.192001</td>\n",
       "      <td>66.519997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>Central African Republic</td>\n",
       "      <td>65.655998</td>\n",
       "      <td>65.663002</td>\n",
       "      <td>65.505997</td>\n",
       "      <td>65.321999</td>\n",
       "      <td>65.056000</td>\n",
       "      <td>64.838997</td>\n",
       "      <td>64.625000</td>\n",
       "      <td>64.691002</td>\n",
       "      <td>64.791000</td>\n",
       "      <td>64.723999</td>\n",
       "      <td>64.667000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>Canada</td>\n",
       "      <td>61.874001</td>\n",
       "      <td>61.858002</td>\n",
       "      <td>61.601002</td>\n",
       "      <td>61.612000</td>\n",
       "      <td>61.683998</td>\n",
       "      <td>61.087002</td>\n",
       "      <td>60.770000</td>\n",
       "      <td>60.806999</td>\n",
       "      <td>61.015999</td>\n",
       "      <td>60.846001</td>\n",
       "      <td>60.658001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>Central Europe and the Baltics</td>\n",
       "      <td>47.557086</td>\n",
       "      <td>47.988688</td>\n",
       "      <td>47.890527</td>\n",
       "      <td>48.313518</td>\n",
       "      <td>48.408511</td>\n",
       "      <td>48.811783</td>\n",
       "      <td>48.818785</td>\n",
       "      <td>48.807143</td>\n",
       "      <td>49.423060</td>\n",
       "      <td>49.226387</td>\n",
       "      <td>49.018014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>231</th>\n",
       "      <td>Thailand</td>\n",
       "      <td>64.795998</td>\n",
       "      <td>63.848999</td>\n",
       "      <td>65.963997</td>\n",
       "      <td>65.171997</td>\n",
       "      <td>62.443001</td>\n",
       "      <td>61.446999</td>\n",
       "      <td>60.957001</td>\n",
       "      <td>60.061001</td>\n",
       "      <td>59.761002</td>\n",
       "      <td>59.465000</td>\n",
       "      <td>59.150002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>232</th>\n",
       "      <td>Tajikistan</td>\n",
       "      <td>29.667999</td>\n",
       "      <td>29.502001</td>\n",
       "      <td>29.261000</td>\n",
       "      <td>28.990999</td>\n",
       "      <td>28.712999</td>\n",
       "      <td>28.476000</td>\n",
       "      <td>28.291000</td>\n",
       "      <td>28.084999</td>\n",
       "      <td>27.886999</td>\n",
       "      <td>27.794001</td>\n",
       "      <td>27.684999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>233</th>\n",
       "      <td>Turkmenistan</td>\n",
       "      <td>52.314999</td>\n",
       "      <td>52.418999</td>\n",
       "      <td>52.530998</td>\n",
       "      <td>52.680000</td>\n",
       "      <td>52.830002</td>\n",
       "      <td>52.938999</td>\n",
       "      <td>52.994999</td>\n",
       "      <td>52.986000</td>\n",
       "      <td>52.926998</td>\n",
       "      <td>52.789001</td>\n",
       "      <td>52.633999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>51.629659</td>\n",
       "      <td>51.185245</td>\n",
       "      <td>50.864398</td>\n",
       "      <td>51.698867</td>\n",
       "      <td>51.559410</td>\n",
       "      <td>51.260341</td>\n",
       "      <td>51.521785</td>\n",
       "      <td>51.721148</td>\n",
       "      <td>52.035162</td>\n",
       "      <td>52.052128</td>\n",
       "      <td>52.059513</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>27.209000</td>\n",
       "      <td>26.469000</td>\n",
       "      <td>26.180000</td>\n",
       "      <td>25.913000</td>\n",
       "      <td>25.681000</td>\n",
       "      <td>25.450001</td>\n",
       "      <td>25.270000</td>\n",
       "      <td>25.160000</td>\n",
       "      <td>25.202000</td>\n",
       "      <td>25.034000</td>\n",
       "      <td>24.851000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>18.371887</td>\n",
       "      <td>18.220439</td>\n",
       "      <td>17.979422</td>\n",
       "      <td>17.871078</td>\n",
       "      <td>17.951179</td>\n",
       "      <td>17.612709</td>\n",
       "      <td>17.575307</td>\n",
       "      <td>18.002983</td>\n",
       "      <td>17.846133</td>\n",
       "      <td>17.801293</td>\n",
       "      <td>17.738633</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>45.432999</td>\n",
       "      <td>45.334999</td>\n",
       "      <td>45.306999</td>\n",
       "      <td>45.316002</td>\n",
       "      <td>45.358002</td>\n",
       "      <td>45.323002</td>\n",
       "      <td>45.230000</td>\n",
       "      <td>45.244999</td>\n",
       "      <td>45.251999</td>\n",
       "      <td>45.250000</td>\n",
       "      <td>45.209999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>27.832411</td>\n",
       "      <td>27.050263</td>\n",
       "      <td>26.050446</td>\n",
       "      <td>25.082699</td>\n",
       "      <td>25.354484</td>\n",
       "      <td>25.580315</td>\n",
       "      <td>25.875504</td>\n",
       "      <td>26.062319</td>\n",
       "      <td>26.460767</td>\n",
       "      <td>26.371171</td>\n",
       "      <td>26.278402</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>61.260450</td>\n",
       "      <td>60.996748</td>\n",
       "      <td>60.923675</td>\n",
       "      <td>60.850175</td>\n",
       "      <td>60.929255</td>\n",
       "      <td>60.901829</td>\n",
       "      <td>61.045061</td>\n",
       "      <td>61.152641</td>\n",
       "      <td>61.363740</td>\n",
       "      <td>61.381375</td>\n",
       "      <td>61.395935</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>51.660999</td>\n",
       "      <td>51.025002</td>\n",
       "      <td>50.359001</td>\n",
       "      <td>51.640999</td>\n",
       "      <td>51.896000</td>\n",
       "      <td>52.256001</td>\n",
       "      <td>50.848999</td>\n",
       "      <td>51.210999</td>\n",
       "      <td>50.511002</td>\n",
       "      <td>50.354000</td>\n",
       "      <td>50.147999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>24.385000</td>\n",
       "      <td>24.459999</td>\n",
       "      <td>24.445999</td>\n",
       "      <td>25.245001</td>\n",
       "      <td>25.143000</td>\n",
       "      <td>24.933001</td>\n",
       "      <td>24.726999</td>\n",
       "      <td>24.468000</td>\n",
       "      <td>24.226000</td>\n",
       "      <td>24.080000</td>\n",
       "      <td>23.909000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>25.478001</td>\n",
       "      <td>27.033001</td>\n",
       "      <td>28.323000</td>\n",
       "      <td>28.879000</td>\n",
       "      <td>30.101999</td>\n",
       "      <td>30.243000</td>\n",
       "      <td>31.475000</td>\n",
       "      <td>32.507000</td>\n",
       "      <td>33.571999</td>\n",
       "      <td>33.520000</td>\n",
       "      <td>33.458000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>84.781998</td>\n",
       "      <td>83.900002</td>\n",
       "      <td>82.952003</td>\n",
       "      <td>81.917000</td>\n",
       "      <td>80.780998</td>\n",
       "      <td>79.533997</td>\n",
       "      <td>79.553001</td>\n",
       "      <td>79.570000</td>\n",
       "      <td>79.577003</td>\n",
       "      <td>79.389000</td>\n",
       "      <td>79.203003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>65.688004</td>\n",
       "      <td>65.876999</td>\n",
       "      <td>66.081001</td>\n",
       "      <td>66.291000</td>\n",
       "      <td>66.430000</td>\n",
       "      <td>66.582001</td>\n",
       "      <td>66.744003</td>\n",
       "      <td>66.885002</td>\n",
       "      <td>67.037003</td>\n",
       "      <td>67.151001</td>\n",
       "      <td>67.269997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>48.445000</td>\n",
       "      <td>48.410000</td>\n",
       "      <td>48.250999</td>\n",
       "      <td>47.485001</td>\n",
       "      <td>48.376999</td>\n",
       "      <td>47.040001</td>\n",
       "      <td>47.360001</td>\n",
       "      <td>47.075001</td>\n",
       "      <td>46.938000</td>\n",
       "      <td>46.679001</td>\n",
       "      <td>46.396999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>56.201803</td>\n",
       "      <td>55.670890</td>\n",
       "      <td>55.570200</td>\n",
       "      <td>55.603981</td>\n",
       "      <td>55.382775</td>\n",
       "      <td>55.061678</td>\n",
       "      <td>54.994629</td>\n",
       "      <td>54.828160</td>\n",
       "      <td>54.693724</td>\n",
       "      <td>54.296955</td>\n",
       "      <td>53.875677</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>55.616001</td>\n",
       "      <td>55.334000</td>\n",
       "      <td>55.978001</td>\n",
       "      <td>55.787998</td>\n",
       "      <td>54.973999</td>\n",
       "      <td>55.965000</td>\n",
       "      <td>55.724998</td>\n",
       "      <td>55.926998</td>\n",
       "      <td>55.597000</td>\n",
       "      <td>55.771000</td>\n",
       "      <td>55.931000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>58.144001</td>\n",
       "      <td>57.501999</td>\n",
       "      <td>56.930000</td>\n",
       "      <td>56.701000</td>\n",
       "      <td>56.292000</td>\n",
       "      <td>56.111000</td>\n",
       "      <td>55.834000</td>\n",
       "      <td>55.993999</td>\n",
       "      <td>56.313000</td>\n",
       "      <td>56.047001</td>\n",
       "      <td>55.778000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>52.606998</td>\n",
       "      <td>52.736000</td>\n",
       "      <td>52.865002</td>\n",
       "      <td>52.997002</td>\n",
       "      <td>53.129002</td>\n",
       "      <td>53.244999</td>\n",
       "      <td>53.327999</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.419998</td>\n",
       "      <td>53.412998</td>\n",
       "      <td>53.355999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>56.441002</td>\n",
       "      <td>56.416000</td>\n",
       "      <td>56.487000</td>\n",
       "      <td>56.708000</td>\n",
       "      <td>56.938999</td>\n",
       "      <td>57.042999</td>\n",
       "      <td>57.071999</td>\n",
       "      <td>57.206001</td>\n",
       "      <td>57.195999</td>\n",
       "      <td>57.278999</td>\n",
       "      <td>57.313999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>51.095001</td>\n",
       "      <td>50.619999</td>\n",
       "      <td>50.995998</td>\n",
       "      <td>50.584000</td>\n",
       "      <td>50.773998</td>\n",
       "      <td>50.542000</td>\n",
       "      <td>50.122002</td>\n",
       "      <td>48.775002</td>\n",
       "      <td>47.694000</td>\n",
       "      <td>47.743000</td>\n",
       "      <td>47.783001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>58.008999</td>\n",
       "      <td>57.865002</td>\n",
       "      <td>57.429001</td>\n",
       "      <td>56.706001</td>\n",
       "      <td>56.375999</td>\n",
       "      <td>56.105999</td>\n",
       "      <td>55.855000</td>\n",
       "      <td>55.743000</td>\n",
       "      <td>55.769001</td>\n",
       "      <td>55.617001</td>\n",
       "      <td>55.433998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>71.398003</td>\n",
       "      <td>71.305000</td>\n",
       "      <td>71.459999</td>\n",
       "      <td>71.969002</td>\n",
       "      <td>72.902000</td>\n",
       "      <td>73.195000</td>\n",
       "      <td>72.945999</td>\n",
       "      <td>72.642998</td>\n",
       "      <td>72.697998</td>\n",
       "      <td>72.649002</td>\n",
       "      <td>72.541000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>61.069000</td>\n",
       "      <td>61.241001</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.354000</td>\n",
       "      <td>61.379002</td>\n",
       "      <td>61.411999</td>\n",
       "      <td>61.584999</td>\n",
       "      <td>61.528000</td>\n",
       "      <td>61.484001</td>\n",
       "      <td>61.507999</td>\n",
       "      <td>61.533001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>49.091606</td>\n",
       "      <td>48.677926</td>\n",
       "      <td>48.363017</td>\n",
       "      <td>48.164190</td>\n",
       "      <td>48.114513</td>\n",
       "      <td>48.033072</td>\n",
       "      <td>48.025554</td>\n",
       "      <td>48.027061</td>\n",
       "      <td>48.089157</td>\n",
       "      <td>47.883420</td>\n",
       "      <td>47.662671</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>24.337999</td>\n",
       "      <td>24.301001</td>\n",
       "      <td>24.173000</td>\n",
       "      <td>24.118000</td>\n",
       "      <td>24.091000</td>\n",
       "      <td>24.011999</td>\n",
       "      <td>23.916000</td>\n",
       "      <td>23.799000</td>\n",
       "      <td>23.740000</td>\n",
       "      <td>23.674999</td>\n",
       "      <td>23.587999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>10.798000</td>\n",
       "      <td>10.049000</td>\n",
       "      <td>8.848000</td>\n",
       "      <td>7.799000</td>\n",
       "      <td>6.884000</td>\n",
       "      <td>6.083000</td>\n",
       "      <td>6.106000</td>\n",
       "      <td>6.117000</td>\n",
       "      <td>6.138000</td>\n",
       "      <td>5.983000</td>\n",
       "      <td>5.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>46.286999</td>\n",
       "      <td>44.728001</td>\n",
       "      <td>45.198002</td>\n",
       "      <td>45.418999</td>\n",
       "      <td>46.387001</td>\n",
       "      <td>46.612000</td>\n",
       "      <td>47.801998</td>\n",
       "      <td>47.797001</td>\n",
       "      <td>48.922001</td>\n",
       "      <td>48.848999</td>\n",
       "      <td>48.768002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>71.610001</td>\n",
       "      <td>71.059998</td>\n",
       "      <td>70.542999</td>\n",
       "      <td>70.021004</td>\n",
       "      <td>70.155998</td>\n",
       "      <td>70.295998</td>\n",
       "      <td>70.445000</td>\n",
       "      <td>70.585999</td>\n",
       "      <td>70.733002</td>\n",
       "      <td>70.752998</td>\n",
       "      <td>70.785004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>77.295998</td>\n",
       "      <td>77.362000</td>\n",
       "      <td>77.492996</td>\n",
       "      <td>77.649002</td>\n",
       "      <td>77.796997</td>\n",
       "      <td>77.935997</td>\n",
       "      <td>78.069000</td>\n",
       "      <td>78.219002</td>\n",
       "      <td>78.387001</td>\n",
       "      <td>78.568001</td>\n",
       "      <td>78.733002</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>233 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country       2009       2010  \\\n",
       "1                                          Afghanistan  42.709000  42.735001   \n",
       "2                                               Angola  75.255997  75.306999   \n",
       "3                                              Albania  44.945000  45.693001   \n",
       "5                                           Arab World  20.052651  20.169026   \n",
       "6                                 United Arab Emirates  42.514999  44.028999   \n",
       "7                                            Argentina  48.823002  47.833000   \n",
       "8                                              Armenia  48.299000  49.587002   \n",
       "11                                           Australia  58.821999  58.706001   \n",
       "12                                             Austria  53.373001  53.507000   \n",
       "13                                          Azerbaijan  59.617001  60.223000   \n",
       "14                                             Burundi  80.610001  80.349998   \n",
       "15                                             Belgium  46.745998  47.488998   \n",
       "16                                               Benin  68.933998  69.223999   \n",
       "17                                        Burkina Faso  60.092999  59.717999   \n",
       "18                                          Bangladesh  29.382000  29.882999   \n",
       "19                                            Bulgaria  48.089001  47.698002   \n",
       "20                                             Bahrain  42.604000  43.763000   \n",
       "21                                        Bahamas, The  68.639999  68.742996   \n",
       "22                              Bosnia and Herzegovina  37.223999  37.063999   \n",
       "23                                             Belarus  57.152000  57.540001   \n",
       "24                                              Belize  50.747002  51.938000   \n",
       "26                                             Bolivia  62.367001  62.019001   \n",
       "27                                              Brazil  54.966000  53.576000   \n",
       "28                                            Barbados  63.606998  63.492001   \n",
       "29                                   Brunei Darussalam  56.659000  56.928001   \n",
       "30                                              Bhutan  67.111000  64.556999   \n",
       "31                                            Botswana  56.265999  53.546001   \n",
       "32                            Central African Republic  65.655998  65.663002   \n",
       "33                                              Canada  61.874001  61.858002   \n",
       "34                      Central Europe and the Baltics  47.557086  47.988688   \n",
       "..                                                 ...        ...        ...   \n",
       "231                                           Thailand  64.795998  63.848999   \n",
       "232                                         Tajikistan  29.667999  29.502001   \n",
       "233                                       Turkmenistan  52.314999  52.418999   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  51.629659  51.185245   \n",
       "235                                        Timor-Leste  27.209000  26.469000   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  18.371887  18.220439   \n",
       "237                                              Tonga  45.432999  45.334999   \n",
       "238                            South Asia (IDA & IBRD)  27.832411  27.050263   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  61.260450  60.996748   \n",
       "240                                Trinidad and Tobago  51.660999  51.025002   \n",
       "241                                            Tunisia  24.385000  24.459999   \n",
       "242                                             Turkey  25.478001  27.033001   \n",
       "244                                           Tanzania  84.781998  83.900002   \n",
       "245                                             Uganda  65.688004  65.876999   \n",
       "246                                            Ukraine  48.445000  48.410000   \n",
       "247                                Upper middle income  56.201803  55.670890   \n",
       "248                                            Uruguay  55.616001  55.334000   \n",
       "249                                      United States  58.144001  57.501999   \n",
       "250                                         Uzbekistan  52.606998  52.736000   \n",
       "251                     St. Vincent and the Grenadines  56.441002  56.416000   \n",
       "252                                      Venezuela, RB  51.095001  50.619999   \n",
       "254                              Virgin Islands (U.S.)  58.008999  57.865002   \n",
       "255                                            Vietnam  71.398003  71.305000   \n",
       "256                                            Vanuatu  61.069000  61.241001   \n",
       "257                                              World  49.091606  48.677926   \n",
       "258                                              Samoa  24.337999  24.301001   \n",
       "260                                        Yemen, Rep.  10.798000  10.049000   \n",
       "261                                       South Africa  46.286999  44.728001   \n",
       "262                                             Zambia  71.610001  71.059998   \n",
       "263                                           Zimbabwe  77.295998  77.362000   \n",
       "\n",
       "          2011       2012       2013       2014       2015       2016  \\\n",
       "1    43.327999  44.117001  45.039001  46.016998  47.000999  47.765999   \n",
       "2    75.344002  75.389000  75.432999  75.464996  75.478996  75.470001   \n",
       "3    47.104000  48.806000  44.650002  44.789001  47.675999  47.459000   \n",
       "5    20.268955  20.453085  20.753035  20.686165  20.492409  20.589288   \n",
       "6    45.143002  46.213001  47.263000  48.323002  49.396000  50.161999   \n",
       "7    48.102001  48.188000  47.790001  47.157001  47.825001  48.480000   \n",
       "8    52.091999  51.969002  52.631001  51.946999  51.166000  49.441002   \n",
       "11   58.952000  58.826000  58.707001  58.648998  59.066002  59.247002   \n",
       "12   53.839001  54.337002  54.598999  54.562000  54.535999  54.945999   \n",
       "13   60.813999  61.104000  61.323002  61.923000  62.516998  62.963001   \n",
       "14   80.112000  79.917999  79.748001  79.573998  79.844002  80.079002   \n",
       "15   46.805000  46.889000  47.594002  48.011002  48.023998  47.765999   \n",
       "16   68.088997  68.207001  68.351997  68.512001  68.680000  68.835999   \n",
       "17   59.341000  58.971001  58.606998  58.249001  58.375999  58.497002   \n",
       "18   30.371000  30.864000  31.364000  31.871000  32.383999  32.889999   \n",
       "19   47.216999  47.825001  48.528000  48.629002  48.632999  47.764999   \n",
       "20   43.004002  43.202999  43.404999  43.615002  43.800999  44.011002   \n",
       "21   68.555000  68.616997  68.436996  68.180000  67.744003  67.530998   \n",
       "22   36.837002  36.547001  36.273998  35.972000  35.667000  35.258999   \n",
       "23   57.861000  58.136002  58.358002  58.527000  58.641998  58.665001   \n",
       "24   53.235001  54.527000  53.701000  52.930000  52.212002  52.768002   \n",
       "26   61.651001  57.944000  58.820999  60.900002  54.508999  60.321999   \n",
       "27   52.173000  53.077999  52.976002  52.860001  53.377998  53.320999   \n",
       "28   63.287998  62.061001  63.230999  61.855999  61.860001  62.568001   \n",
       "29   57.191002  57.416000  57.618000  57.810001  58.000000  58.188000   \n",
       "30   62.270000  63.502998  58.187000  54.931000  57.764999  57.895000   \n",
       "31   57.425999  61.106998  64.554001  64.907997  65.231003  65.524002   \n",
       "32   65.505997  65.321999  65.056000  64.838997  64.625000  64.691002   \n",
       "33   61.601002  61.612000  61.683998  61.087002  60.770000  60.806999   \n",
       "34   47.890527  48.313518  48.408511  48.811783  48.818785  48.807143   \n",
       "..         ...        ...        ...        ...        ...        ...   \n",
       "231  65.963997  65.171997  62.443001  61.446999  60.957001  60.061001   \n",
       "232  29.261000  28.990999  28.712999  28.476000  28.291000  28.084999   \n",
       "233  52.530998  52.680000  52.830002  52.938999  52.994999  52.986000   \n",
       "234  50.864398  51.698867  51.559410  51.260341  51.521785  51.721148   \n",
       "235  26.180000  25.913000  25.681000  25.450001  25.270000  25.160000   \n",
       "236  17.979422  17.871078  17.951179  17.612709  17.575307  18.002983   \n",
       "237  45.306999  45.316002  45.358002  45.323002  45.230000  45.244999   \n",
       "238  26.050446  25.082699  25.354484  25.580315  25.875504  26.062319   \n",
       "239  60.923675  60.850175  60.929255  60.901829  61.045061  61.152641   \n",
       "240  50.359001  51.640999  51.896000  52.256001  50.848999  51.210999   \n",
       "241  24.445999  25.245001  25.143000  24.933001  24.726999  24.468000   \n",
       "242  28.323000  28.879000  30.101999  30.243000  31.475000  32.507000   \n",
       "244  82.952003  81.917000  80.780998  79.533997  79.553001  79.570000   \n",
       "245  66.081001  66.291000  66.430000  66.582001  66.744003  66.885002   \n",
       "246  48.250999  47.485001  48.376999  47.040001  47.360001  47.075001   \n",
       "247  55.570200  55.603981  55.382775  55.061678  54.994629  54.828160   \n",
       "248  55.978001  55.787998  54.973999  55.965000  55.724998  55.926998   \n",
       "249  56.930000  56.701000  56.292000  56.111000  55.834000  55.993999   \n",
       "250  52.865002  52.997002  53.129002  53.244999  53.327999  53.377998   \n",
       "251  56.487000  56.708000  56.938999  57.042999  57.071999  57.206001   \n",
       "252  50.995998  50.584000  50.773998  50.542000  50.122002  48.775002   \n",
       "254  57.429001  56.706001  56.375999  56.105999  55.855000  55.743000   \n",
       "255  71.459999  71.969002  72.902000  73.195000  72.945999  72.642998   \n",
       "256  61.323002  61.354000  61.379002  61.411999  61.584999  61.528000   \n",
       "257  48.363017  48.164190  48.114513  48.033072  48.025554  48.027061   \n",
       "258  24.173000  24.118000  24.091000  24.011999  23.916000  23.799000   \n",
       "260   8.848000   7.799000   6.884000   6.083000   6.106000   6.117000   \n",
       "261  45.198002  45.418999  46.387001  46.612000  47.801998  47.797001   \n",
       "262  70.542999  70.021004  70.155998  70.295998  70.445000  70.585999   \n",
       "263  77.492996  77.649002  77.796997  77.935997  78.069000  78.219002   \n",
       "\n",
       "          2017       2018       2019  \n",
       "1    48.473999  48.660000  48.848999  \n",
       "2    75.450996  75.412003  75.372002  \n",
       "3    47.312000  47.191002  47.081001  \n",
       "5    20.536024  20.537448  20.525228  \n",
       "6    51.266998  51.148998  51.067001  \n",
       "7    49.118000  48.966999  48.813999  \n",
       "8    49.419998  49.575001  49.674000  \n",
       "11   59.693001  59.645000  59.591000  \n",
       "12   54.868999  54.826000  54.745998  \n",
       "13   63.262001  63.112999  62.916000  \n",
       "14   80.286003  80.348999  80.363998  \n",
       "15   47.891998  47.889000  47.867001  \n",
       "16   69.016998  69.176002  69.334999  \n",
       "17   58.626999  58.462002  58.292000  \n",
       "18   35.852001  35.999001  36.143002  \n",
       "19   49.626999  49.529999  49.416000  \n",
       "20   44.352001  44.473000  44.612999  \n",
       "21   67.527000  67.568001  67.540001  \n",
       "22   35.726002  35.627998  35.521000  \n",
       "23   58.395000  58.126999  57.827000  \n",
       "24   52.924999  53.280998  53.648998  \n",
       "26   56.585999  56.595001  56.611000  \n",
       "27   54.167999  54.029999  53.882000  \n",
       "28   62.234001  61.894001  61.528000  \n",
       "29   58.362000  58.220001  58.071999  \n",
       "30   57.979000  58.202999  58.389000  \n",
       "31   65.836998  66.192001  66.519997  \n",
       "32   64.791000  64.723999  64.667000  \n",
       "33   61.015999  60.846001  60.658001  \n",
       "34   49.423060  49.226387  49.018014  \n",
       "..         ...        ...        ...  \n",
       "231  59.761002  59.465000  59.150002  \n",
       "232  27.886999  27.794001  27.684999  \n",
       "233  52.926998  52.789001  52.633999  \n",
       "234  52.035162  52.052128  52.059513  \n",
       "235  25.202000  25.034000  24.851000  \n",
       "236  17.846133  17.801293  17.738633  \n",
       "237  45.251999  45.250000  45.209999  \n",
       "238  26.460767  26.371171  26.278402  \n",
       "239  61.363740  61.381375  61.395935  \n",
       "240  50.511002  50.354000  50.147999  \n",
       "241  24.226000  24.080000  23.909000  \n",
       "242  33.571999  33.520000  33.458000  \n",
       "244  79.577003  79.389000  79.203003  \n",
       "245  67.037003  67.151001  67.269997  \n",
       "246  46.938000  46.679001  46.396999  \n",
       "247  54.693724  54.296955  53.875677  \n",
       "248  55.597000  55.771000  55.931000  \n",
       "249  56.313000  56.047001  55.778000  \n",
       "250  53.419998  53.412998  53.355999  \n",
       "251  57.195999  57.278999  57.313999  \n",
       "252  47.694000  47.743000  47.783001  \n",
       "254  55.769001  55.617001  55.433998  \n",
       "255  72.697998  72.649002  72.541000  \n",
       "256  61.484001  61.507999  61.533001  \n",
       "257  48.089157  47.883420  47.662671  \n",
       "258  23.740000  23.674999  23.587999  \n",
       "260   6.138000   5.983000   5.827000  \n",
       "261  48.922001  48.848999  48.768002  \n",
       "262  70.733002  70.752998  70.785004  \n",
       "263  78.387001  78.568001  78.733002  \n",
       "\n",
       "[233 rows x 12 columns]"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfc1 =dfc.dropna(axis=0,how='any') \n",
    "dfc1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[('Afghanistan',), ('Angola',), ('Albania',), ('Arab World',), ('United Arab Emirates',), ('Argentina',), ('Armenia',), ('Australia',), ('Austria',), ('Azerbaijan',), ('Burundi',), ('Belgium',), ('Benin',), ('Burkina Faso',), ('Bangladesh',), ('Bulgaria',), ('Bahrain',), ('Bahamas, The',), ('Bosnia and Herzegovina',), ('Belarus',), ('Belize',), ('Bolivia',), ('Brazil',), ('Barbados',), ('Brunei Darussalam',), ('Bhutan',), ('Botswana',), ('Central African Republic',), ('Canada',), ('Central Europe and the Baltics',), ('Switzerland',), ('Channel Islands',), ('Chile',), ('China',), (\"Cote d'Ivoire\",), ('Cameroon',), ('Congo, Dem. Rep.',), ('Congo, Rep.',), ('Colombia',), ('Comoros',), ('Cabo Verde',), ('Costa Rica',), ('Caribbean small states',), ('Cuba',), ('Cyprus',), ('Czech Republic',), ('Germany',), ('Djibouti',), ('Denmark',), ('Dominican Republic',), ('Algeria',), ('East Asia & Pacific (excluding high income)',), ('Early-demographic dividend',), ('East Asia & Pacific',), ('Europe & Central Asia (excluding high income)',), ('Europe & Central Asia',), ('Ecuador',), ('Egypt, Arab Rep.',), ('Euro area',), ('Eritrea',), ('Spain',), ('Estonia',), ('Ethiopia',), ('European Union',), ('Fragile and conflict affected situations',), ('Finland',), ('Fiji',), ('France',), ('Gabon',), ('United Kingdom',), ('Georgia',), ('Ghana',), ('Guinea',), ('Gambia, The',), ('Guinea-Bissau',), ('Equatorial Guinea',), ('Greece',), ('Guatemala',), ('Guam',), ('Guyana',), ('High income',), ('Hong Kong SAR, China',), ('Honduras',), ('Heavily indebted poor countries (HIPC)',), ('Croatia',), ('Haiti',), ('Hungary',), ('IBRD only',), ('IDA & IBRD total',), ('IDA total',), ('IDA blend',), ('Indonesia',), ('IDA only',), ('India',), ('Ireland',), ('Iran, Islamic Rep.',), ('Iraq',), ('Iceland',), ('Israel',), ('Italy',), ('Jamaica',), ('Jordan',), ('Japan',), ('Kazakhstan',), ('Kenya',), ('Kyrgyz Republic',), ('Cambodia',), ('Korea, Rep.',), ('Kuwait',), ('Latin America & Caribbean (excluding high income)',), ('Lao PDR',), ('Lebanon',), ('Liberia',), ('Libya',), ('St. Lucia',), ('Latin America & Caribbean',), ('Least developed countries: UN classification',), ('Low income',), ('Sri Lanka',), ('Lower middle income',), ('Low & middle income',), ('Lesotho',), ('Late-demographic dividend',), ('Lithuania',), ('Luxembourg',), ('Latvia',), ('Macao SAR, China',), ('Morocco',), ('Moldova',), ('Madagascar',), ('Maldives',), ('Middle East & North Africa',), ('Mexico',), ('Middle income',), ('North Macedonia',), ('Mali',), ('Malta',), ('Myanmar',), ('Middle East & North Africa (excluding high income)',), ('Montenegro',), ('Mongolia',), ('Mozambique',), ('Mauritania',), ('Mauritius',), ('Malawi',), ('Malaysia',), ('North America',), ('Namibia',), ('New Caledonia',), ('Niger',), ('Nigeria',), ('Nicaragua',), ('Netherlands',), ('Norway',), ('Nepal',), ('New Zealand',), ('OECD members',), ('Oman',), ('Other small states',), ('Pakistan',), ('Panama',), ('Peru',), ('Philippines',), ('Papua New Guinea',), ('Poland',), ('Pre-demographic dividend',), ('Puerto Rico',), ('Korea, Dem. People’s Rep.',), ('Portugal',), ('Paraguay',), ('West Bank and Gaza',), ('Pacific island small states',), ('Post-demographic dividend',), ('French Polynesia',), ('Qatar',), ('Romania',), ('Russian Federation',), ('Rwanda',), ('South Asia',), ('Saudi Arabia',), ('Sudan',), ('Senegal',), ('Singapore',), ('Solomon Islands',), ('Sierra Leone',), ('El Salvador',), ('Somalia',), ('Serbia',), ('Sub-Saharan Africa (excluding high income)',), ('South Sudan',), ('Sub-Saharan Africa',), ('Small states',), ('Sao Tome and Principe',), ('Suriname',), ('Slovak Republic',), ('Slovenia',), ('Sweden',), ('Eswatini',), ('Syrian Arab Republic',), ('Chad',), ('East Asia & Pacific (IDA & IBRD countries)',), ('Europe & Central Asia (IDA & IBRD countries)',), ('Togo',), ('Thailand',), ('Tajikistan',), ('Turkmenistan',), ('Latin America & the Caribbean (IDA & IBRD countries)',), ('Timor-Leste',), ('Middle East & North Africa (IDA & IBRD countries)',), ('Tonga',), ('South Asia (IDA & IBRD)',), ('Sub-Saharan Africa (IDA & IBRD countries)',), ('Trinidad and Tobago',), ('Tunisia',), ('Turkey',), ('Tanzania',), ('Uganda',), ('Ukraine',), ('Upper middle income',), ('Uruguay',), ('United States',), ('Uzbekistan',), ('St. Vincent and the Grenadines',), ('Venezuela, RB',), ('Virgin Islands (U.S.)',), ('Vietnam',), ('Vanuatu',), ('World',), ('Samoa',), ('Yemen, Rep.',), ('South Africa',), ('Zambia',), ('Zimbabwe',)]\n",
      "<class 'list'>\n"
     ]
    }
   ],
   "source": [
    "女性劳动力参与率 = list(zip(list(dfc1.country)))\n",
    "print(女性劳动力参与率)\n",
    "print(type(女性劳动力参与率))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 生成图表及数据故事"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pyecharts.charts import Bar,Tab,Line,Map,Timeline,Grid,Scatter\n",
    "from pyecharts import options as opts \n",
    "import pandas as pd "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "scrolled": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'C:\\\\Users\\\\Administrator\\\\Desktop\\\\王子佳\\\\render.html'"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.faker import Faker\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar, Tab, Pie, Line\n",
    "from pyecharts.components import Table\n",
    "\n",
    "def timeline_map_a() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2009,2020):\n",
    "        map0 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"总就业人口比率\", (list(zip(list(dfa1.country),list(dfa1[\"{}\".format(i)])))), \"world\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"\".format(i),subtitle=\"\",\n",
    "                                         subtitle_textstyle_opts=opts.TextStyleOpts(color=\"red\",font_size=16,font_style=\"italic\")),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_=0, max_=100,series_index=0),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map0, \"{}\".format(i))\n",
    "    return tl\n",
    "\n",
    "def timeline_map_b() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2009,2020):\n",
    "        map0 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"男性劳动力参与率\", (list(zip(list(dfb1.country),list(dfb1[\"{}\".format(i)])))), \"world\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"\".format(i),subtitle=\"\",\n",
    "                                         subtitle_textstyle_opts=opts.TextStyleOpts(color=\"blue\",font_size=16,font_style=\"italic\")),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_=0, max_=100,series_index=0),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map0, \"{}\".format(i))\n",
    "    return tl\n",
    "\n",
    "def timeline_map_c() -> Timeline:\n",
    "    tl = Timeline()\n",
    "    for i in range(2009,2020):\n",
    "        map0 = (\n",
    "            Map()\n",
    "            .add(\n",
    "                \"女性劳动力参与率\", (list(zip(list(dfc1.country),list(dfc1[\"{}\".format(i)])))), \"world\",is_map_symbol_show = False\n",
    "            )\n",
    "            .set_global_opts(\n",
    "                title_opts=opts.TitleOpts(title=\"\".format(i),subtitle=\"\",\n",
    "                                         subtitle_textstyle_opts=opts.TextStyleOpts(color=\"blue\",font_size=16,font_style=\"italic\")),\n",
    "                visualmap_opts=opts.VisualMapOpts(min_=0, max_=100,series_index=0),\n",
    "            \n",
    "            )\n",
    "        )\n",
    "        tl.add(map0, \"{}\".format(i))\n",
    "    return tl\n",
    "\n",
    "tab = Tab()\n",
    "tab.add(timeline_map_a(), \"总就业人口比率\")\n",
    "tab.add(timeline_map_b(), \"男性劳动力参与率\")\n",
    "tab.add(timeline_map_c(), \"女性劳动力参与率\")\n",
    "tab.render()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 十年间总体分析"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- **最近十年间，各国总就业人口比率、男性劳动力参与率、女性劳动率参与率都处于比较稳定的状态，没有大幅度的变化。**\n",
    "\n",
    "- **男性劳动力参与率普遍达到60%以上，男性劳动力参与比率在60%-90%不等，说明在世界各国，男性劳动力参与劳动都比较普遍。**\n",
    "\n",
    "- **女性劳动力参与劳动比率在世界范围内有较大差异。在伊斯兰教、印度教等宗教地区，女性劳动力参与率比较低，在30%以下；而在撒哈拉以南地区和一些东南亚国家，女性劳动力参与率则比较高，达到70%以上。在欧美等中高收入或高收入国家，女性劳动参与率普遍在50%-70%。与男性劳动力相比，女性劳动力无法参与劳动的原因将是我们接下来的讨论内容。**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 各国总就业人口比率分析"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- **总就业人口比率达到80%的国家有7个，非洲国家占5个，分别是卢旺达、坦桑尼亚、马达加斯加、阿拉伯联合酋长国、卡塔尔；亚洲国家占2个，分别是尼泊尔和柬埔寨。**\n",
    "\n",
    "- **总就业人口比率在50%以下的国家主要集中在欧洲南部和非洲，南美洲的圭亚那、苏里南，亚洲的塔吉克斯坦、东帝汶，大洋洲的巴布新几内亚。由于南美洲、亚洲、大洋洲的部分国家都是属于知名度及经济文化各方面极不发达的国家，因此不参与此次讨论。**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女性劳动力参与劳动比率分析"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- **女性劳动力参与劳动的比率十年间有些许变化，女性劳动力参与劳动比率达到80%以上的国家2009年有6个，非洲国家占5个，分别为马达加斯加、坦桑尼亚、卢旺达、莫桑比克，亚洲国家占1个，柬埔寨。到2012年，柬埔寨的女性劳动力比率下降到80%以下，尼泊尔的女性劳动力参与比率上升到80%以上。到2014年，非洲仅剩马达加斯加和卢旺达女性劳动参与率在80%以上，亚洲也仅剩尼泊尔。从大趋势来看，女性劳动力参与劳动的比率在逐步下降。**\n",
    "\n",
    "- **女性劳动力参与比率在30%以下的国家主要集中在北非和南亚。北非主要信奉伊斯兰教，南亚主要信奉印度教和佛教。由于南亚和北非地区国家人均收入程度差异较大，因此推断宗教是这些地区决定女性劳动力参与劳动的主要原因之一。**\n",
    "\n",
    "- **十年间，一些国家女性劳动力参与劳动比率上升，脱离女性劳动力参与比率低的行列。2011年，孟加拉国女性劳动力参与劳动比率上升，2013年，土耳其女性劳动力参与劳动比率上升，2015年，阿曼女性劳动力参与比率上升。但这些国家都不是宗教十分普及的国家，因此女性劳动力参与率上升应该有其他原因。**"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 世界各国人均收入程度"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据清洗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {},
   "outputs": [],
   "source": [
    "dfd = pd.read_csv('Country_income.csv',encoding = 'utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>Region</th>\n",
       "      <th>IncomeGroup</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Australia</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Austria</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Canada</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Switzerland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Channel Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Chile</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Curacao</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Cayman Islands</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Cyprus</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Czech Republic</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Germany</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Denmark</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Spain</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Estonia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Finland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>France</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Faroe Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Gibraltar</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Greece</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>IDA only</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Kuwait</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>St. Lucia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>Least developed countries: UN classification</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sri Lanka</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Lower middle income</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Lesotho</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Maldives</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>Marshall Islands</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Myanmar</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Malaysia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>New Zealand</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Oman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Poland</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>West Bank and Gaza</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Pacific island small states</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>Rwanda</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Serbia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>South Sudan</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Chad</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>East Asia &amp; Pacific (IDA &amp; IBRD countries)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>Turkmenistan</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                          country                      Region  \\\n",
       "0                                           Aruba   Latin America & Caribbean   \n",
       "1                                         Andorra       Europe & Central Asia   \n",
       "2                            United Arab Emirates  Middle East & North Africa   \n",
       "3                             Antigua and Barbuda   Latin America & Caribbean   \n",
       "4                                       Australia         East Asia & Pacific   \n",
       "5                                         Austria       Europe & Central Asia   \n",
       "6                                         Belgium       Europe & Central Asia   \n",
       "7                                         Bahrain  Middle East & North Africa   \n",
       "8                                    Bahamas, The   Latin America & Caribbean   \n",
       "9                                         Bermuda               North America   \n",
       "10                                       Barbados   Latin America & Caribbean   \n",
       "11                              Brunei Darussalam         East Asia & Pacific   \n",
       "12                                         Canada               North America   \n",
       "13                                    Switzerland       Europe & Central Asia   \n",
       "14                                Channel Islands       Europe & Central Asia   \n",
       "15                                          Chile   Latin America & Caribbean   \n",
       "16                                        Curacao   Latin America & Caribbean   \n",
       "17                                 Cayman Islands   Latin America & Caribbean   \n",
       "18                                         Cyprus       Europe & Central Asia   \n",
       "19                                 Czech Republic       Europe & Central Asia   \n",
       "20                                        Germany       Europe & Central Asia   \n",
       "21                                        Denmark       Europe & Central Asia   \n",
       "22                                          Spain       Europe & Central Asia   \n",
       "23                                        Estonia       Europe & Central Asia   \n",
       "24                                        Finland       Europe & Central Asia   \n",
       "25                                         France       Europe & Central Asia   \n",
       "26                                  Faroe Islands       Europe & Central Asia   \n",
       "27                                 United Kingdom       Europe & Central Asia   \n",
       "28                                      Gibraltar       Europe & Central Asia   \n",
       "29                                         Greece       Europe & Central Asia   \n",
       "..                                            ...                         ...   \n",
       "234                                      IDA only                         NaN   \n",
       "235                                        Kuwait                         NaN   \n",
       "236                                     St. Lucia                         NaN   \n",
       "237                     Latin America & Caribbean                         NaN   \n",
       "238  Least developed countries: UN classification                         NaN   \n",
       "239                                     Sri Lanka                         NaN   \n",
       "240                           Lower middle income                         NaN   \n",
       "241                                       Lesotho                         NaN   \n",
       "242                                      Maldives                         NaN   \n",
       "243                              Marshall Islands                         NaN   \n",
       "244                                       Myanmar                         NaN   \n",
       "245                                      Malaysia                         NaN   \n",
       "246                                   New Zealand                         NaN   \n",
       "247                                          Oman                         NaN   \n",
       "248                                        Poland                         NaN   \n",
       "249                            West Bank and Gaza                         NaN   \n",
       "250                   Pacific island small states                         NaN   \n",
       "251                                        Rwanda                         NaN   \n",
       "252                                        Serbia                         NaN   \n",
       "253                                   South Sudan                         NaN   \n",
       "254                            Sub-Saharan Africa                         NaN   \n",
       "255                                          Chad                         NaN   \n",
       "256    East Asia & Pacific (IDA & IBRD countries)                         NaN   \n",
       "257                                  Turkmenistan                         NaN   \n",
       "258                                   Timor-Leste                         NaN   \n",
       "259                                         Tonga                         NaN   \n",
       "260                       South Asia (IDA & IBRD)                         NaN   \n",
       "261                                       Ukraine                         NaN   \n",
       "262                                       Vanuatu                         NaN   \n",
       "263                                      Zimbabwe                         NaN   \n",
       "\n",
       "     IncomeGroup  \n",
       "0    High income  \n",
       "1    High income  \n",
       "2    High income  \n",
       "3    High income  \n",
       "4    High income  \n",
       "5    High income  \n",
       "6    High income  \n",
       "7    High income  \n",
       "8    High income  \n",
       "9    High income  \n",
       "10   High income  \n",
       "11   High income  \n",
       "12   High income  \n",
       "13   High income  \n",
       "14   High income  \n",
       "15   High income  \n",
       "16   High income  \n",
       "17   High income  \n",
       "18   High income  \n",
       "19   High income  \n",
       "20   High income  \n",
       "21   High income  \n",
       "22   High income  \n",
       "23   High income  \n",
       "24   High income  \n",
       "25   High income  \n",
       "26   High income  \n",
       "27   High income  \n",
       "28   High income  \n",
       "29   High income  \n",
       "..           ...  \n",
       "234          NaN  \n",
       "235          NaN  \n",
       "236          NaN  \n",
       "237          NaN  \n",
       "238          NaN  \n",
       "239          NaN  \n",
       "240          NaN  \n",
       "241          NaN  \n",
       "242          NaN  \n",
       "243          NaN  \n",
       "244          NaN  \n",
       "245          NaN  \n",
       "246          NaN  \n",
       "247          NaN  \n",
       "248          NaN  \n",
       "249          NaN  \n",
       "250          NaN  \n",
       "251          NaN  \n",
       "252          NaN  \n",
       "253          NaN  \n",
       "254          NaN  \n",
       "255          NaN  \n",
       "256          NaN  \n",
       "257          NaN  \n",
       "258          NaN  \n",
       "259          NaN  \n",
       "260          NaN  \n",
       "261          NaN  \n",
       "262          NaN  \n",
       "263          NaN  \n",
       "\n",
       "[264 rows x 3 columns]"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfd"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>Region</th>\n",
       "      <th>IncomeGroup</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Australia</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Austria</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Canada</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Switzerland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Channel Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Chile</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Curacao</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Cayman Islands</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Cyprus</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Czech Republic</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Germany</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Denmark</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Spain</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Estonia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Finland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>France</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Faroe Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Gibraltar</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Greece</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>187</th>\n",
       "      <td>Japan</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>188</th>\n",
       "      <td>Lao PDR</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>189</th>\n",
       "      <td>Liberia</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>190</th>\n",
       "      <td>Libya</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>191</th>\n",
       "      <td>Liechtenstein</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>192</th>\n",
       "      <td>Madagascar</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>193</th>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>194</th>\n",
       "      <td>Mexico</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>195</th>\n",
       "      <td>Middle income</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>196</th>\n",
       "      <td>Middle East &amp; North Africa (excluding high inc...</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>197</th>\n",
       "      <td>Mauritania</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>198</th>\n",
       "      <td>Malawi</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>199</th>\n",
       "      <td>North America</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>200</th>\n",
       "      <td>Nepal</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>201</th>\n",
       "      <td>Panama</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>202</th>\n",
       "      <td>Portugal</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>203</th>\n",
       "      <td>Qatar</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>204</th>\n",
       "      <td>Romania</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>205</th>\n",
       "      <td>Somalia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>206</th>\n",
       "      <td>Sao Tome and Principe</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>207</th>\n",
       "      <td>Togo</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>208</th>\n",
       "      <td>Tajikistan</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>210</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>211</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>212</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>213</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>214</th>\n",
       "      <td>World</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>216</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>217 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country  \\\n",
       "0                                                Aruba   \n",
       "1                                              Andorra   \n",
       "2                                 United Arab Emirates   \n",
       "3                                  Antigua and Barbuda   \n",
       "4                                            Australia   \n",
       "5                                              Austria   \n",
       "6                                              Belgium   \n",
       "7                                              Bahrain   \n",
       "8                                         Bahamas, The   \n",
       "9                                              Bermuda   \n",
       "10                                            Barbados   \n",
       "11                                   Brunei Darussalam   \n",
       "12                                              Canada   \n",
       "13                                         Switzerland   \n",
       "14                                     Channel Islands   \n",
       "15                                               Chile   \n",
       "16                                             Curacao   \n",
       "17                                      Cayman Islands   \n",
       "18                                              Cyprus   \n",
       "19                                      Czech Republic   \n",
       "20                                             Germany   \n",
       "21                                             Denmark   \n",
       "22                                               Spain   \n",
       "23                                             Estonia   \n",
       "24                                             Finland   \n",
       "25                                              France   \n",
       "26                                       Faroe Islands   \n",
       "27                                      United Kingdom   \n",
       "28                                           Gibraltar   \n",
       "29                                              Greece   \n",
       "..                                                 ...   \n",
       "187                                              Japan   \n",
       "188                                            Lao PDR   \n",
       "189                                            Liberia   \n",
       "190                                              Libya   \n",
       "191                                      Liechtenstein   \n",
       "192                                         Madagascar   \n",
       "193                         Middle East & North Africa   \n",
       "194                                             Mexico   \n",
       "195                                      Middle income   \n",
       "196  Middle East & North Africa (excluding high inc...   \n",
       "197                                         Mauritania   \n",
       "198                                             Malawi   \n",
       "199                                      North America   \n",
       "200                                              Nepal   \n",
       "201                                             Panama   \n",
       "202                                           Portugal   \n",
       "203                                              Qatar   \n",
       "204                                            Romania   \n",
       "205                                            Somalia   \n",
       "206                              Sao Tome and Principe   \n",
       "207                                               Togo   \n",
       "208                                         Tajikistan   \n",
       "209  Middle East & North Africa (IDA & IBRD countries)   \n",
       "210                                            Tunisia   \n",
       "211                                             Turkey   \n",
       "212                                         Uzbekistan   \n",
       "213                     St. Vincent and the Grenadines   \n",
       "214                                              World   \n",
       "215                                              Samoa   \n",
       "216                                        Yemen, Rep.   \n",
       "\n",
       "                         Region          IncomeGroup  \n",
       "0     Latin America & Caribbean          High income  \n",
       "1         Europe & Central Asia          High income  \n",
       "2    Middle East & North Africa          High income  \n",
       "3     Latin America & Caribbean          High income  \n",
       "4           East Asia & Pacific          High income  \n",
       "5         Europe & Central Asia          High income  \n",
       "6         Europe & Central Asia          High income  \n",
       "7    Middle East & North Africa          High income  \n",
       "8     Latin America & Caribbean          High income  \n",
       "9                 North America          High income  \n",
       "10    Latin America & Caribbean          High income  \n",
       "11          East Asia & Pacific          High income  \n",
       "12                North America          High income  \n",
       "13        Europe & Central Asia          High income  \n",
       "14        Europe & Central Asia          High income  \n",
       "15    Latin America & Caribbean          High income  \n",
       "16    Latin America & Caribbean          High income  \n",
       "17    Latin America & Caribbean          High income  \n",
       "18        Europe & Central Asia          High income  \n",
       "19        Europe & Central Asia          High income  \n",
       "20        Europe & Central Asia          High income  \n",
       "21        Europe & Central Asia          High income  \n",
       "22        Europe & Central Asia          High income  \n",
       "23        Europe & Central Asia          High income  \n",
       "24        Europe & Central Asia          High income  \n",
       "25        Europe & Central Asia          High income  \n",
       "26        Europe & Central Asia          High income  \n",
       "27        Europe & Central Asia          High income  \n",
       "28        Europe & Central Asia          High income  \n",
       "29        Europe & Central Asia          High income  \n",
       "..                          ...                  ...  \n",
       "187       Europe & Central Asia  Upper middle income  \n",
       "188  Middle East & North Africa  Upper middle income  \n",
       "189  Middle East & North Africa  Upper middle income  \n",
       "190   Latin America & Caribbean  Upper middle income  \n",
       "191                  South Asia  Upper middle income  \n",
       "192                  South Asia  Upper middle income  \n",
       "193   Latin America & Caribbean  Upper middle income  \n",
       "194         East Asia & Pacific  Upper middle income  \n",
       "195       Europe & Central Asia  Upper middle income  \n",
       "196       Europe & Central Asia  Upper middle income  \n",
       "197          Sub-Saharan Africa  Upper middle income  \n",
       "198         East Asia & Pacific  Upper middle income  \n",
       "199          Sub-Saharan Africa  Upper middle income  \n",
       "200         East Asia & Pacific  Upper middle income  \n",
       "201   Latin America & Caribbean  Upper middle income  \n",
       "202   Latin America & Caribbean  Upper middle income  \n",
       "203       Europe & Central Asia  Upper middle income  \n",
       "204       Europe & Central Asia  Upper middle income  \n",
       "205       Europe & Central Asia  Upper middle income  \n",
       "206   Latin America & Caribbean  Upper middle income  \n",
       "207         East Asia & Pacific  Upper middle income  \n",
       "208       Europe & Central Asia  Upper middle income  \n",
       "209         East Asia & Pacific  Upper middle income  \n",
       "210       Europe & Central Asia  Upper middle income  \n",
       "211         East Asia & Pacific  Upper middle income  \n",
       "212   Latin America & Caribbean  Upper middle income  \n",
       "213   Latin America & Caribbean  Upper middle income  \n",
       "214         East Asia & Pacific  Upper middle income  \n",
       "215       Europe & Central Asia  Upper middle income  \n",
       "216          Sub-Saharan Africa  Upper middle income  \n",
       "\n",
       "[217 rows x 3 columns]"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfd1 =dfd.dropna(axis=0,how='any') \n",
    "dfd1"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据分类"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>Region</th>\n",
       "      <th>IncomeGroup</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Australia</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Austria</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Canada</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Switzerland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Channel Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Chile</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Curacao</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Cayman Islands</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Cyprus</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Czech Republic</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Germany</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Denmark</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Spain</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Estonia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Finland</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>France</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Faroe Islands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Gibraltar</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Greece</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>49</th>\n",
       "      <td>Macao SAR, China</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>Morocco</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>Mali</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>Mongolia</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>Namibia</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>54</th>\n",
       "      <td>Nicaragua</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>55</th>\n",
       "      <td>Netherlands</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>56</th>\n",
       "      <td>Nauru</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>57</th>\n",
       "      <td>OECD members</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>58</th>\n",
       "      <td>Pakistan</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>59</th>\n",
       "      <td>Philippines</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>60</th>\n",
       "      <td>Papua New Guinea</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>61</th>\n",
       "      <td>Pre-demographic dividend</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>62</th>\n",
       "      <td>Korea, Dem. People’s Rep.</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>63</th>\n",
       "      <td>Post-demographic dividend</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>64</th>\n",
       "      <td>French Polynesia</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>65</th>\n",
       "      <td>South Asia</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>66</th>\n",
       "      <td>Senegal</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>67</th>\n",
       "      <td>El Salvador</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>68</th>\n",
       "      <td>Suriname</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>69</th>\n",
       "      <td>Slovak Republic</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>70</th>\n",
       "      <td>Slovenia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>71</th>\n",
       "      <td>Eswatini</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>Sint Maarten (Dutch part)</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>Syrian Arab Republic</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>76</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>North America</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>77</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>78</th>\n",
       "      <td>British Virgin Islands</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>High income</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>79 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                      country                      Region  \\\n",
       "0                                       Aruba   Latin America & Caribbean   \n",
       "1                                     Andorra       Europe & Central Asia   \n",
       "2                        United Arab Emirates  Middle East & North Africa   \n",
       "3                         Antigua and Barbuda   Latin America & Caribbean   \n",
       "4                                   Australia         East Asia & Pacific   \n",
       "5                                     Austria       Europe & Central Asia   \n",
       "6                                     Belgium       Europe & Central Asia   \n",
       "7                                     Bahrain  Middle East & North Africa   \n",
       "8                                Bahamas, The   Latin America & Caribbean   \n",
       "9                                     Bermuda               North America   \n",
       "10                                   Barbados   Latin America & Caribbean   \n",
       "11                          Brunei Darussalam         East Asia & Pacific   \n",
       "12                                     Canada               North America   \n",
       "13                                Switzerland       Europe & Central Asia   \n",
       "14                            Channel Islands       Europe & Central Asia   \n",
       "15                                      Chile   Latin America & Caribbean   \n",
       "16                                    Curacao   Latin America & Caribbean   \n",
       "17                             Cayman Islands   Latin America & Caribbean   \n",
       "18                                     Cyprus       Europe & Central Asia   \n",
       "19                             Czech Republic       Europe & Central Asia   \n",
       "20                                    Germany       Europe & Central Asia   \n",
       "21                                    Denmark       Europe & Central Asia   \n",
       "22                                      Spain       Europe & Central Asia   \n",
       "23                                    Estonia       Europe & Central Asia   \n",
       "24                                    Finland       Europe & Central Asia   \n",
       "25                                     France       Europe & Central Asia   \n",
       "26                              Faroe Islands       Europe & Central Asia   \n",
       "27                             United Kingdom       Europe & Central Asia   \n",
       "28                                  Gibraltar       Europe & Central Asia   \n",
       "29                                     Greece       Europe & Central Asia   \n",
       "..                                        ...                         ...   \n",
       "49                           Macao SAR, China   Latin America & Caribbean   \n",
       "50                                    Morocco       Europe & Central Asia   \n",
       "51                                       Mali  Middle East & North Africa   \n",
       "52                                   Mongolia         East Asia & Pacific   \n",
       "53                                    Namibia         East Asia & Pacific   \n",
       "54                                  Nicaragua       Europe & Central Asia   \n",
       "55                                Netherlands       Europe & Central Asia   \n",
       "56                                      Nauru         East Asia & Pacific   \n",
       "57                               OECD members  Middle East & North Africa   \n",
       "58                                   Pakistan   Latin America & Caribbean   \n",
       "59                                Philippines         East Asia & Pacific   \n",
       "60                           Papua New Guinea       Europe & Central Asia   \n",
       "61                   Pre-demographic dividend   Latin America & Caribbean   \n",
       "62                  Korea, Dem. People’s Rep.       Europe & Central Asia   \n",
       "63                  Post-demographic dividend         East Asia & Pacific   \n",
       "64                           French Polynesia  Middle East & North Africa   \n",
       "65                                 South Asia  Middle East & North Africa   \n",
       "66                                    Senegal         East Asia & Pacific   \n",
       "67                                El Salvador       Europe & Central Asia   \n",
       "68                                   Suriname       Europe & Central Asia   \n",
       "69                            Slovak Republic       Europe & Central Asia   \n",
       "70                                   Slovenia       Europe & Central Asia   \n",
       "71                                   Eswatini   Latin America & Caribbean   \n",
       "72                  Sint Maarten (Dutch part)          Sub-Saharan Africa   \n",
       "73                       Syrian Arab Republic   Latin America & Caribbean   \n",
       "74  Sub-Saharan Africa (IDA & IBRD countries)   Latin America & Caribbean   \n",
       "75                        Upper middle income   Latin America & Caribbean   \n",
       "76                                    Uruguay               North America   \n",
       "77                              Venezuela, RB   Latin America & Caribbean   \n",
       "78                     British Virgin Islands   Latin America & Caribbean   \n",
       "\n",
       "    IncomeGroup  \n",
       "0   High income  \n",
       "1   High income  \n",
       "2   High income  \n",
       "3   High income  \n",
       "4   High income  \n",
       "5   High income  \n",
       "6   High income  \n",
       "7   High income  \n",
       "8   High income  \n",
       "9   High income  \n",
       "10  High income  \n",
       "11  High income  \n",
       "12  High income  \n",
       "13  High income  \n",
       "14  High income  \n",
       "15  High income  \n",
       "16  High income  \n",
       "17  High income  \n",
       "18  High income  \n",
       "19  High income  \n",
       "20  High income  \n",
       "21  High income  \n",
       "22  High income  \n",
       "23  High income  \n",
       "24  High income  \n",
       "25  High income  \n",
       "26  High income  \n",
       "27  High income  \n",
       "28  High income  \n",
       "29  High income  \n",
       "..          ...  \n",
       "49  High income  \n",
       "50  High income  \n",
       "51  High income  \n",
       "52  High income  \n",
       "53  High income  \n",
       "54  High income  \n",
       "55  High income  \n",
       "56  High income  \n",
       "57  High income  \n",
       "58  High income  \n",
       "59  High income  \n",
       "60  High income  \n",
       "61  High income  \n",
       "62  High income  \n",
       "63  High income  \n",
       "64  High income  \n",
       "65  High income  \n",
       "66  High income  \n",
       "67  High income  \n",
       "68  High income  \n",
       "69  High income  \n",
       "70  High income  \n",
       "71  High income  \n",
       "72  High income  \n",
       "73  High income  \n",
       "74  High income  \n",
       "75  High income  \n",
       "76  High income  \n",
       "77  High income  \n",
       "78  High income  \n",
       "\n",
       "[79 rows x 3 columns]"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfd1.loc[0:78]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 36,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>Region</th>\n",
       "      <th>IncomeGroup</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>79</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>80</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>81</th>\n",
       "      <td>Benin</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>82</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>83</th>\n",
       "      <td>Central African Republic</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>84</th>\n",
       "      <td>Congo, Dem. Rep.</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>85</th>\n",
       "      <td>Eritrea</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>86</th>\n",
       "      <td>Ethiopia</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>87</th>\n",
       "      <td>Guinea</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>88</th>\n",
       "      <td>Gambia, The</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>89</th>\n",
       "      <td>Guinea-Bissau</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>90</th>\n",
       "      <td>Haiti</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>91</th>\n",
       "      <td>Lebanon</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>92</th>\n",
       "      <td>Moldova</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>93</th>\n",
       "      <td>North Macedonia</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>94</th>\n",
       "      <td>Northern Mariana Islands</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>95</th>\n",
       "      <td>Mauritius</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>96</th>\n",
       "      <td>New Caledonia</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>97</th>\n",
       "      <td>Norway</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>98</th>\n",
       "      <td>Puerto Rico</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>99</th>\n",
       "      <td>Russian Federation</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>100</th>\n",
       "      <td>Solomon Islands</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>101</th>\n",
       "      <td>San Marino</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>Sub-Saharan Africa (excluding high income)</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>103</th>\n",
       "      <td>Seychelles</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>104</th>\n",
       "      <td>Turks and Caicos Islands</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>105</th>\n",
       "      <td>Europe &amp; Central Asia (IDA &amp; IBRD countries)</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>106</th>\n",
       "      <td>Thailand</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>107</th>\n",
       "      <td>Tuvalu</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>108</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>109</th>\n",
       "      <td>Kosovo</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Low income</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                          country                      Region  \\\n",
       "79                                    Afghanistan                  South Asia   \n",
       "80                                        Burundi          Sub-Saharan Africa   \n",
       "81                                          Benin          Sub-Saharan Africa   \n",
       "82                                   Burkina Faso          Sub-Saharan Africa   \n",
       "83                       Central African Republic          Sub-Saharan Africa   \n",
       "84                               Congo, Dem. Rep.          Sub-Saharan Africa   \n",
       "85                                        Eritrea          Sub-Saharan Africa   \n",
       "86                                       Ethiopia          Sub-Saharan Africa   \n",
       "87                                         Guinea          Sub-Saharan Africa   \n",
       "88                                    Gambia, The          Sub-Saharan Africa   \n",
       "89                                  Guinea-Bissau          Sub-Saharan Africa   \n",
       "90                                          Haiti   Latin America & Caribbean   \n",
       "91                                        Lebanon          Sub-Saharan Africa   \n",
       "92                                        Moldova          Sub-Saharan Africa   \n",
       "93                                North Macedonia          Sub-Saharan Africa   \n",
       "94                       Northern Mariana Islands          Sub-Saharan Africa   \n",
       "95                                      Mauritius          Sub-Saharan Africa   \n",
       "96                                  New Caledonia          Sub-Saharan Africa   \n",
       "97                                         Norway                  South Asia   \n",
       "98                                    Puerto Rico         East Asia & Pacific   \n",
       "99                             Russian Federation          Sub-Saharan Africa   \n",
       "100                               Solomon Islands          Sub-Saharan Africa   \n",
       "101                                    San Marino          Sub-Saharan Africa   \n",
       "102    Sub-Saharan Africa (excluding high income)          Sub-Saharan Africa   \n",
       "103                                    Seychelles  Middle East & North Africa   \n",
       "104                      Turks and Caicos Islands          Sub-Saharan Africa   \n",
       "105  Europe & Central Asia (IDA & IBRD countries)          Sub-Saharan Africa   \n",
       "106                                      Thailand       Europe & Central Asia   \n",
       "107                                        Tuvalu          Sub-Saharan Africa   \n",
       "108                                      Tanzania          Sub-Saharan Africa   \n",
       "109                                        Kosovo  Middle East & North Africa   \n",
       "\n",
       "    IncomeGroup  \n",
       "79   Low income  \n",
       "80   Low income  \n",
       "81   Low income  \n",
       "82   Low income  \n",
       "83   Low income  \n",
       "84   Low income  \n",
       "85   Low income  \n",
       "86   Low income  \n",
       "87   Low income  \n",
       "88   Low income  \n",
       "89   Low income  \n",
       "90   Low income  \n",
       "91   Low income  \n",
       "92   Low income  \n",
       "93   Low income  \n",
       "94   Low income  \n",
       "95   Low income  \n",
       "96   Low income  \n",
       "97   Low income  \n",
       "98   Low income  \n",
       "99   Low income  \n",
       "100  Low income  \n",
       "101  Low income  \n",
       "102  Low income  \n",
       "103  Low income  \n",
       "104  Low income  \n",
       "105  Low income  \n",
       "106  Low income  \n",
       "107  Low income  \n",
       "108  Low income  \n",
       "109  Low income  "
      ]
     },
     "execution_count": 36,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfd1.loc[79:109]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>Region</th>\n",
       "      <th>IncomeGroup</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>157</th>\n",
       "      <td>Albania</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>158</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>159</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>160</th>\n",
       "      <td>American Samoa</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>161</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>162</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>164</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>165</th>\n",
       "      <td>Belize</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>166</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>167</th>\n",
       "      <td>Botswana</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>168</th>\n",
       "      <td>China</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>169</th>\n",
       "      <td>Colombia</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>170</th>\n",
       "      <td>Costa Rica</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>171</th>\n",
       "      <td>Cuba</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>172</th>\n",
       "      <td>Dominica</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>173</th>\n",
       "      <td>Dominican Republic</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>174</th>\n",
       "      <td>Algeria</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>175</th>\n",
       "      <td>Ecuador</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>176</th>\n",
       "      <td>Fiji</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>177</th>\n",
       "      <td>Gabon</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>178</th>\n",
       "      <td>Georgia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>179</th>\n",
       "      <td>Equatorial Guinea</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>180</th>\n",
       "      <td>Grenada</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>181</th>\n",
       "      <td>Guatemala</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>182</th>\n",
       "      <td>Guyana</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>183</th>\n",
       "      <td>Ireland</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>184</th>\n",
       "      <td>Iran, Islamic Rep.</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>185</th>\n",
       "      <td>Italy</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>186</th>\n",
       "      <td>Jamaica</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>187</th>\n",
       "      <td>Japan</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>188</th>\n",
       "      <td>Lao PDR</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>189</th>\n",
       "      <td>Liberia</td>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>190</th>\n",
       "      <td>Libya</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>191</th>\n",
       "      <td>Liechtenstein</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>192</th>\n",
       "      <td>Madagascar</td>\n",
       "      <td>South Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>193</th>\n",
       "      <td>Middle East &amp; North Africa</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>194</th>\n",
       "      <td>Mexico</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>195</th>\n",
       "      <td>Middle income</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>196</th>\n",
       "      <td>Middle East &amp; North Africa (excluding high inc...</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>197</th>\n",
       "      <td>Mauritania</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>198</th>\n",
       "      <td>Malawi</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>199</th>\n",
       "      <td>North America</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>200</th>\n",
       "      <td>Nepal</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>201</th>\n",
       "      <td>Panama</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>202</th>\n",
       "      <td>Portugal</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>203</th>\n",
       "      <td>Qatar</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>204</th>\n",
       "      <td>Romania</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>205</th>\n",
       "      <td>Somalia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>206</th>\n",
       "      <td>Sao Tome and Principe</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>207</th>\n",
       "      <td>Togo</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>208</th>\n",
       "      <td>Tajikistan</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>209</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>210</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>211</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>212</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>213</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>Latin America &amp; Caribbean</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>214</th>\n",
       "      <td>World</td>\n",
       "      <td>East Asia &amp; Pacific</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>Europe &amp; Central Asia</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>216</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>Sub-Saharan Africa</td>\n",
       "      <td>Upper middle income</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country  \\\n",
       "157                                            Albania   \n",
       "158                                          Argentina   \n",
       "159                                            Armenia   \n",
       "160                                     American Samoa   \n",
       "161                                         Azerbaijan   \n",
       "162                                           Bulgaria   \n",
       "163                             Bosnia and Herzegovina   \n",
       "164                                            Belarus   \n",
       "165                                             Belize   \n",
       "166                                             Brazil   \n",
       "167                                           Botswana   \n",
       "168                                              China   \n",
       "169                                           Colombia   \n",
       "170                                         Costa Rica   \n",
       "171                                               Cuba   \n",
       "172                                           Dominica   \n",
       "173                                 Dominican Republic   \n",
       "174                                            Algeria   \n",
       "175                                            Ecuador   \n",
       "176                                               Fiji   \n",
       "177                                              Gabon   \n",
       "178                                            Georgia   \n",
       "179                                  Equatorial Guinea   \n",
       "180                                            Grenada   \n",
       "181                                          Guatemala   \n",
       "182                                             Guyana   \n",
       "183                                            Ireland   \n",
       "184                                 Iran, Islamic Rep.   \n",
       "185                                              Italy   \n",
       "186                                            Jamaica   \n",
       "187                                              Japan   \n",
       "188                                            Lao PDR   \n",
       "189                                            Liberia   \n",
       "190                                              Libya   \n",
       "191                                      Liechtenstein   \n",
       "192                                         Madagascar   \n",
       "193                         Middle East & North Africa   \n",
       "194                                             Mexico   \n",
       "195                                      Middle income   \n",
       "196  Middle East & North Africa (excluding high inc...   \n",
       "197                                         Mauritania   \n",
       "198                                             Malawi   \n",
       "199                                      North America   \n",
       "200                                              Nepal   \n",
       "201                                             Panama   \n",
       "202                                           Portugal   \n",
       "203                                              Qatar   \n",
       "204                                            Romania   \n",
       "205                                            Somalia   \n",
       "206                              Sao Tome and Principe   \n",
       "207                                               Togo   \n",
       "208                                         Tajikistan   \n",
       "209  Middle East & North Africa (IDA & IBRD countries)   \n",
       "210                                            Tunisia   \n",
       "211                                             Turkey   \n",
       "212                                         Uzbekistan   \n",
       "213                     St. Vincent and the Grenadines   \n",
       "214                                              World   \n",
       "215                                              Samoa   \n",
       "216                                        Yemen, Rep.   \n",
       "\n",
       "                         Region          IncomeGroup  \n",
       "157       Europe & Central Asia  Upper middle income  \n",
       "158   Latin America & Caribbean  Upper middle income  \n",
       "159       Europe & Central Asia  Upper middle income  \n",
       "160         East Asia & Pacific  Upper middle income  \n",
       "161       Europe & Central Asia  Upper middle income  \n",
       "162       Europe & Central Asia  Upper middle income  \n",
       "163       Europe & Central Asia  Upper middle income  \n",
       "164       Europe & Central Asia  Upper middle income  \n",
       "165   Latin America & Caribbean  Upper middle income  \n",
       "166   Latin America & Caribbean  Upper middle income  \n",
       "167          Sub-Saharan Africa  Upper middle income  \n",
       "168         East Asia & Pacific  Upper middle income  \n",
       "169   Latin America & Caribbean  Upper middle income  \n",
       "170   Latin America & Caribbean  Upper middle income  \n",
       "171   Latin America & Caribbean  Upper middle income  \n",
       "172   Latin America & Caribbean  Upper middle income  \n",
       "173   Latin America & Caribbean  Upper middle income  \n",
       "174  Middle East & North Africa  Upper middle income  \n",
       "175   Latin America & Caribbean  Upper middle income  \n",
       "176         East Asia & Pacific  Upper middle income  \n",
       "177          Sub-Saharan Africa  Upper middle income  \n",
       "178       Europe & Central Asia  Upper middle income  \n",
       "179          Sub-Saharan Africa  Upper middle income  \n",
       "180   Latin America & Caribbean  Upper middle income  \n",
       "181   Latin America & Caribbean  Upper middle income  \n",
       "182   Latin America & Caribbean  Upper middle income  \n",
       "183  Middle East & North Africa  Upper middle income  \n",
       "184  Middle East & North Africa  Upper middle income  \n",
       "185   Latin America & Caribbean  Upper middle income  \n",
       "186  Middle East & North Africa  Upper middle income  \n",
       "187       Europe & Central Asia  Upper middle income  \n",
       "188  Middle East & North Africa  Upper middle income  \n",
       "189  Middle East & North Africa  Upper middle income  \n",
       "190   Latin America & Caribbean  Upper middle income  \n",
       "191                  South Asia  Upper middle income  \n",
       "192                  South Asia  Upper middle income  \n",
       "193   Latin America & Caribbean  Upper middle income  \n",
       "194         East Asia & Pacific  Upper middle income  \n",
       "195       Europe & Central Asia  Upper middle income  \n",
       "196       Europe & Central Asia  Upper middle income  \n",
       "197          Sub-Saharan Africa  Upper middle income  \n",
       "198         East Asia & Pacific  Upper middle income  \n",
       "199          Sub-Saharan Africa  Upper middle income  \n",
       "200         East Asia & Pacific  Upper middle income  \n",
       "201   Latin America & Caribbean  Upper middle income  \n",
       "202   Latin America & Caribbean  Upper middle income  \n",
       "203       Europe & Central Asia  Upper middle income  \n",
       "204       Europe & Central Asia  Upper middle income  \n",
       "205       Europe & Central Asia  Upper middle income  \n",
       "206   Latin America & Caribbean  Upper middle income  \n",
       "207         East Asia & Pacific  Upper middle income  \n",
       "208       Europe & Central Asia  Upper middle income  \n",
       "209         East Asia & Pacific  Upper middle income  \n",
       "210       Europe & Central Asia  Upper middle income  \n",
       "211         East Asia & Pacific  Upper middle income  \n",
       "212   Latin America & Caribbean  Upper middle income  \n",
       "213   Latin America & Caribbean  Upper middle income  \n",
       "214         East Asia & Pacific  Upper middle income  \n",
       "215       Europe & Central Asia  Upper middle income  \n",
       "216          Sub-Saharan Africa  Upper middle income  "
      ]
     },
     "execution_count": 37,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfd1.loc[157:217]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 为了能更好分析女性劳动力参与劳动比率的变化，将结合国家收入程度、宗教因素、总就业人口比\n",
    "\n",
    "## 率以及上面地图显示出的女性劳动力参与劳动比率四个方面，抽取代表性国家进行分析。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 高收入国家：加拿大、阿拉伯联合酋长国"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 中高收入国家：尼泊尔、巴西"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 中低收入国家：埃及、柬埔寨"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 低收入国家：卢旺达、马达加斯加"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 女性劳动力参与率抽取国家进行分析"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### 数据清洗"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Afghanistan</th>\n",
       "      <td>42.709000</td>\n",
       "      <td>42.735001</td>\n",
       "      <td>43.327999</td>\n",
       "      <td>44.117001</td>\n",
       "      <td>45.039001</td>\n",
       "      <td>46.016998</td>\n",
       "      <td>47.000999</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>48.473999</td>\n",
       "      <td>48.660000</td>\n",
       "      <td>48.848999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Angola</th>\n",
       "      <td>75.255997</td>\n",
       "      <td>75.306999</td>\n",
       "      <td>75.344002</td>\n",
       "      <td>75.389000</td>\n",
       "      <td>75.432999</td>\n",
       "      <td>75.464996</td>\n",
       "      <td>75.478996</td>\n",
       "      <td>75.470001</td>\n",
       "      <td>75.450996</td>\n",
       "      <td>75.412003</td>\n",
       "      <td>75.372002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Albania</th>\n",
       "      <td>44.945000</td>\n",
       "      <td>45.693001</td>\n",
       "      <td>47.104000</td>\n",
       "      <td>48.806000</td>\n",
       "      <td>44.650002</td>\n",
       "      <td>44.789001</td>\n",
       "      <td>47.675999</td>\n",
       "      <td>47.459000</td>\n",
       "      <td>47.312000</td>\n",
       "      <td>47.191002</td>\n",
       "      <td>47.081001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Arab World</th>\n",
       "      <td>20.052651</td>\n",
       "      <td>20.169026</td>\n",
       "      <td>20.268955</td>\n",
       "      <td>20.453085</td>\n",
       "      <td>20.753035</td>\n",
       "      <td>20.686165</td>\n",
       "      <td>20.492409</td>\n",
       "      <td>20.589288</td>\n",
       "      <td>20.536024</td>\n",
       "      <td>20.537448</td>\n",
       "      <td>20.525228</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>United Arab Emirates</th>\n",
       "      <td>42.514999</td>\n",
       "      <td>44.028999</td>\n",
       "      <td>45.143002</td>\n",
       "      <td>46.213001</td>\n",
       "      <td>47.263000</td>\n",
       "      <td>48.323002</td>\n",
       "      <td>49.396000</td>\n",
       "      <td>50.161999</td>\n",
       "      <td>51.266998</td>\n",
       "      <td>51.148998</td>\n",
       "      <td>51.067001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Argentina</th>\n",
       "      <td>48.823002</td>\n",
       "      <td>47.833000</td>\n",
       "      <td>48.102001</td>\n",
       "      <td>48.188000</td>\n",
       "      <td>47.790001</td>\n",
       "      <td>47.157001</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.480000</td>\n",
       "      <td>49.118000</td>\n",
       "      <td>48.966999</td>\n",
       "      <td>48.813999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Armenia</th>\n",
       "      <td>48.299000</td>\n",
       "      <td>49.587002</td>\n",
       "      <td>52.091999</td>\n",
       "      <td>51.969002</td>\n",
       "      <td>52.631001</td>\n",
       "      <td>51.946999</td>\n",
       "      <td>51.166000</td>\n",
       "      <td>49.441002</td>\n",
       "      <td>49.419998</td>\n",
       "      <td>49.575001</td>\n",
       "      <td>49.674000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Australia</th>\n",
       "      <td>58.821999</td>\n",
       "      <td>58.706001</td>\n",
       "      <td>58.952000</td>\n",
       "      <td>58.826000</td>\n",
       "      <td>58.707001</td>\n",
       "      <td>58.648998</td>\n",
       "      <td>59.066002</td>\n",
       "      <td>59.247002</td>\n",
       "      <td>59.693001</td>\n",
       "      <td>59.645000</td>\n",
       "      <td>59.591000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Austria</th>\n",
       "      <td>53.373001</td>\n",
       "      <td>53.507000</td>\n",
       "      <td>53.839001</td>\n",
       "      <td>54.337002</td>\n",
       "      <td>54.598999</td>\n",
       "      <td>54.562000</td>\n",
       "      <td>54.535999</td>\n",
       "      <td>54.945999</td>\n",
       "      <td>54.868999</td>\n",
       "      <td>54.826000</td>\n",
       "      <td>54.745998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Azerbaijan</th>\n",
       "      <td>59.617001</td>\n",
       "      <td>60.223000</td>\n",
       "      <td>60.813999</td>\n",
       "      <td>61.104000</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.923000</td>\n",
       "      <td>62.516998</td>\n",
       "      <td>62.963001</td>\n",
       "      <td>63.262001</td>\n",
       "      <td>63.112999</td>\n",
       "      <td>62.916000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Burundi</th>\n",
       "      <td>80.610001</td>\n",
       "      <td>80.349998</td>\n",
       "      <td>80.112000</td>\n",
       "      <td>79.917999</td>\n",
       "      <td>79.748001</td>\n",
       "      <td>79.573998</td>\n",
       "      <td>79.844002</td>\n",
       "      <td>80.079002</td>\n",
       "      <td>80.286003</td>\n",
       "      <td>80.348999</td>\n",
       "      <td>80.363998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belgium</th>\n",
       "      <td>46.745998</td>\n",
       "      <td>47.488998</td>\n",
       "      <td>46.805000</td>\n",
       "      <td>46.889000</td>\n",
       "      <td>47.594002</td>\n",
       "      <td>48.011002</td>\n",
       "      <td>48.023998</td>\n",
       "      <td>47.765999</td>\n",
       "      <td>47.891998</td>\n",
       "      <td>47.889000</td>\n",
       "      <td>47.867001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Benin</th>\n",
       "      <td>68.933998</td>\n",
       "      <td>69.223999</td>\n",
       "      <td>68.088997</td>\n",
       "      <td>68.207001</td>\n",
       "      <td>68.351997</td>\n",
       "      <td>68.512001</td>\n",
       "      <td>68.680000</td>\n",
       "      <td>68.835999</td>\n",
       "      <td>69.016998</td>\n",
       "      <td>69.176002</td>\n",
       "      <td>69.334999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Burkina Faso</th>\n",
       "      <td>60.092999</td>\n",
       "      <td>59.717999</td>\n",
       "      <td>59.341000</td>\n",
       "      <td>58.971001</td>\n",
       "      <td>58.606998</td>\n",
       "      <td>58.249001</td>\n",
       "      <td>58.375999</td>\n",
       "      <td>58.497002</td>\n",
       "      <td>58.626999</td>\n",
       "      <td>58.462002</td>\n",
       "      <td>58.292000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bangladesh</th>\n",
       "      <td>29.382000</td>\n",
       "      <td>29.882999</td>\n",
       "      <td>30.371000</td>\n",
       "      <td>30.864000</td>\n",
       "      <td>31.364000</td>\n",
       "      <td>31.871000</td>\n",
       "      <td>32.383999</td>\n",
       "      <td>32.889999</td>\n",
       "      <td>35.852001</td>\n",
       "      <td>35.999001</td>\n",
       "      <td>36.143002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bulgaria</th>\n",
       "      <td>48.089001</td>\n",
       "      <td>47.698002</td>\n",
       "      <td>47.216999</td>\n",
       "      <td>47.825001</td>\n",
       "      <td>48.528000</td>\n",
       "      <td>48.629002</td>\n",
       "      <td>48.632999</td>\n",
       "      <td>47.764999</td>\n",
       "      <td>49.626999</td>\n",
       "      <td>49.529999</td>\n",
       "      <td>49.416000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bahrain</th>\n",
       "      <td>42.604000</td>\n",
       "      <td>43.763000</td>\n",
       "      <td>43.004002</td>\n",
       "      <td>43.202999</td>\n",
       "      <td>43.404999</td>\n",
       "      <td>43.615002</td>\n",
       "      <td>43.800999</td>\n",
       "      <td>44.011002</td>\n",
       "      <td>44.352001</td>\n",
       "      <td>44.473000</td>\n",
       "      <td>44.612999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bahamas, The</th>\n",
       "      <td>68.639999</td>\n",
       "      <td>68.742996</td>\n",
       "      <td>68.555000</td>\n",
       "      <td>68.616997</td>\n",
       "      <td>68.436996</td>\n",
       "      <td>68.180000</td>\n",
       "      <td>67.744003</td>\n",
       "      <td>67.530998</td>\n",
       "      <td>67.527000</td>\n",
       "      <td>67.568001</td>\n",
       "      <td>67.540001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bosnia and Herzegovina</th>\n",
       "      <td>37.223999</td>\n",
       "      <td>37.063999</td>\n",
       "      <td>36.837002</td>\n",
       "      <td>36.547001</td>\n",
       "      <td>36.273998</td>\n",
       "      <td>35.972000</td>\n",
       "      <td>35.667000</td>\n",
       "      <td>35.258999</td>\n",
       "      <td>35.726002</td>\n",
       "      <td>35.627998</td>\n",
       "      <td>35.521000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belarus</th>\n",
       "      <td>57.152000</td>\n",
       "      <td>57.540001</td>\n",
       "      <td>57.861000</td>\n",
       "      <td>58.136002</td>\n",
       "      <td>58.358002</td>\n",
       "      <td>58.527000</td>\n",
       "      <td>58.641998</td>\n",
       "      <td>58.665001</td>\n",
       "      <td>58.395000</td>\n",
       "      <td>58.126999</td>\n",
       "      <td>57.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belize</th>\n",
       "      <td>50.747002</td>\n",
       "      <td>51.938000</td>\n",
       "      <td>53.235001</td>\n",
       "      <td>54.527000</td>\n",
       "      <td>53.701000</td>\n",
       "      <td>52.930000</td>\n",
       "      <td>52.212002</td>\n",
       "      <td>52.768002</td>\n",
       "      <td>52.924999</td>\n",
       "      <td>53.280998</td>\n",
       "      <td>53.648998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bolivia</th>\n",
       "      <td>62.367001</td>\n",
       "      <td>62.019001</td>\n",
       "      <td>61.651001</td>\n",
       "      <td>57.944000</td>\n",
       "      <td>58.820999</td>\n",
       "      <td>60.900002</td>\n",
       "      <td>54.508999</td>\n",
       "      <td>60.321999</td>\n",
       "      <td>56.585999</td>\n",
       "      <td>56.595001</td>\n",
       "      <td>56.611000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Brazil</th>\n",
       "      <td>54.966000</td>\n",
       "      <td>53.576000</td>\n",
       "      <td>52.173000</td>\n",
       "      <td>53.077999</td>\n",
       "      <td>52.976002</td>\n",
       "      <td>52.860001</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.320999</td>\n",
       "      <td>54.167999</td>\n",
       "      <td>54.029999</td>\n",
       "      <td>53.882000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Barbados</th>\n",
       "      <td>63.606998</td>\n",
       "      <td>63.492001</td>\n",
       "      <td>63.287998</td>\n",
       "      <td>62.061001</td>\n",
       "      <td>63.230999</td>\n",
       "      <td>61.855999</td>\n",
       "      <td>61.860001</td>\n",
       "      <td>62.568001</td>\n",
       "      <td>62.234001</td>\n",
       "      <td>61.894001</td>\n",
       "      <td>61.528000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Brunei Darussalam</th>\n",
       "      <td>56.659000</td>\n",
       "      <td>56.928001</td>\n",
       "      <td>57.191002</td>\n",
       "      <td>57.416000</td>\n",
       "      <td>57.618000</td>\n",
       "      <td>57.810001</td>\n",
       "      <td>58.000000</td>\n",
       "      <td>58.188000</td>\n",
       "      <td>58.362000</td>\n",
       "      <td>58.220001</td>\n",
       "      <td>58.071999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bhutan</th>\n",
       "      <td>67.111000</td>\n",
       "      <td>64.556999</td>\n",
       "      <td>62.270000</td>\n",
       "      <td>63.502998</td>\n",
       "      <td>58.187000</td>\n",
       "      <td>54.931000</td>\n",
       "      <td>57.764999</td>\n",
       "      <td>57.895000</td>\n",
       "      <td>57.979000</td>\n",
       "      <td>58.202999</td>\n",
       "      <td>58.389000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Botswana</th>\n",
       "      <td>56.265999</td>\n",
       "      <td>53.546001</td>\n",
       "      <td>57.425999</td>\n",
       "      <td>61.106998</td>\n",
       "      <td>64.554001</td>\n",
       "      <td>64.907997</td>\n",
       "      <td>65.231003</td>\n",
       "      <td>65.524002</td>\n",
       "      <td>65.836998</td>\n",
       "      <td>66.192001</td>\n",
       "      <td>66.519997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Central African Republic</th>\n",
       "      <td>65.655998</td>\n",
       "      <td>65.663002</td>\n",
       "      <td>65.505997</td>\n",
       "      <td>65.321999</td>\n",
       "      <td>65.056000</td>\n",
       "      <td>64.838997</td>\n",
       "      <td>64.625000</td>\n",
       "      <td>64.691002</td>\n",
       "      <td>64.791000</td>\n",
       "      <td>64.723999</td>\n",
       "      <td>64.667000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Canada</th>\n",
       "      <td>61.874001</td>\n",
       "      <td>61.858002</td>\n",
       "      <td>61.601002</td>\n",
       "      <td>61.612000</td>\n",
       "      <td>61.683998</td>\n",
       "      <td>61.087002</td>\n",
       "      <td>60.770000</td>\n",
       "      <td>60.806999</td>\n",
       "      <td>61.015999</td>\n",
       "      <td>60.846001</td>\n",
       "      <td>60.658001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Central Europe and the Baltics</th>\n",
       "      <td>47.557086</td>\n",
       "      <td>47.988688</td>\n",
       "      <td>47.890527</td>\n",
       "      <td>48.313518</td>\n",
       "      <td>48.408511</td>\n",
       "      <td>48.811783</td>\n",
       "      <td>48.818785</td>\n",
       "      <td>48.807143</td>\n",
       "      <td>49.423060</td>\n",
       "      <td>49.226387</td>\n",
       "      <td>49.018014</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Thailand</th>\n",
       "      <td>64.795998</td>\n",
       "      <td>63.848999</td>\n",
       "      <td>65.963997</td>\n",
       "      <td>65.171997</td>\n",
       "      <td>62.443001</td>\n",
       "      <td>61.446999</td>\n",
       "      <td>60.957001</td>\n",
       "      <td>60.061001</td>\n",
       "      <td>59.761002</td>\n",
       "      <td>59.465000</td>\n",
       "      <td>59.150002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tajikistan</th>\n",
       "      <td>29.667999</td>\n",
       "      <td>29.502001</td>\n",
       "      <td>29.261000</td>\n",
       "      <td>28.990999</td>\n",
       "      <td>28.712999</td>\n",
       "      <td>28.476000</td>\n",
       "      <td>28.291000</td>\n",
       "      <td>28.084999</td>\n",
       "      <td>27.886999</td>\n",
       "      <td>27.794001</td>\n",
       "      <td>27.684999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Turkmenistan</th>\n",
       "      <td>52.314999</td>\n",
       "      <td>52.418999</td>\n",
       "      <td>52.530998</td>\n",
       "      <td>52.680000</td>\n",
       "      <td>52.830002</td>\n",
       "      <td>52.938999</td>\n",
       "      <td>52.994999</td>\n",
       "      <td>52.986000</td>\n",
       "      <td>52.926998</td>\n",
       "      <td>52.789001</td>\n",
       "      <td>52.633999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Latin America &amp; the Caribbean (IDA &amp; IBRD countries)</th>\n",
       "      <td>51.629659</td>\n",
       "      <td>51.185245</td>\n",
       "      <td>50.864398</td>\n",
       "      <td>51.698867</td>\n",
       "      <td>51.559410</td>\n",
       "      <td>51.260341</td>\n",
       "      <td>51.521785</td>\n",
       "      <td>51.721148</td>\n",
       "      <td>52.035162</td>\n",
       "      <td>52.052128</td>\n",
       "      <td>52.059513</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Timor-Leste</th>\n",
       "      <td>27.209000</td>\n",
       "      <td>26.469000</td>\n",
       "      <td>26.180000</td>\n",
       "      <td>25.913000</td>\n",
       "      <td>25.681000</td>\n",
       "      <td>25.450001</td>\n",
       "      <td>25.270000</td>\n",
       "      <td>25.160000</td>\n",
       "      <td>25.202000</td>\n",
       "      <td>25.034000</td>\n",
       "      <td>24.851000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Middle East &amp; North Africa (IDA &amp; IBRD countries)</th>\n",
       "      <td>18.371887</td>\n",
       "      <td>18.220439</td>\n",
       "      <td>17.979422</td>\n",
       "      <td>17.871078</td>\n",
       "      <td>17.951179</td>\n",
       "      <td>17.612709</td>\n",
       "      <td>17.575307</td>\n",
       "      <td>18.002983</td>\n",
       "      <td>17.846133</td>\n",
       "      <td>17.801293</td>\n",
       "      <td>17.738633</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tonga</th>\n",
       "      <td>45.432999</td>\n",
       "      <td>45.334999</td>\n",
       "      <td>45.306999</td>\n",
       "      <td>45.316002</td>\n",
       "      <td>45.358002</td>\n",
       "      <td>45.323002</td>\n",
       "      <td>45.230000</td>\n",
       "      <td>45.244999</td>\n",
       "      <td>45.251999</td>\n",
       "      <td>45.250000</td>\n",
       "      <td>45.209999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>South Asia (IDA &amp; IBRD)</th>\n",
       "      <td>27.832411</td>\n",
       "      <td>27.050263</td>\n",
       "      <td>26.050446</td>\n",
       "      <td>25.082699</td>\n",
       "      <td>25.354484</td>\n",
       "      <td>25.580315</td>\n",
       "      <td>25.875504</td>\n",
       "      <td>26.062319</td>\n",
       "      <td>26.460767</td>\n",
       "      <td>26.371171</td>\n",
       "      <td>26.278402</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Sub-Saharan Africa (IDA &amp; IBRD countries)</th>\n",
       "      <td>61.260450</td>\n",
       "      <td>60.996748</td>\n",
       "      <td>60.923675</td>\n",
       "      <td>60.850175</td>\n",
       "      <td>60.929255</td>\n",
       "      <td>60.901829</td>\n",
       "      <td>61.045061</td>\n",
       "      <td>61.152641</td>\n",
       "      <td>61.363740</td>\n",
       "      <td>61.381375</td>\n",
       "      <td>61.395935</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Trinidad and Tobago</th>\n",
       "      <td>51.660999</td>\n",
       "      <td>51.025002</td>\n",
       "      <td>50.359001</td>\n",
       "      <td>51.640999</td>\n",
       "      <td>51.896000</td>\n",
       "      <td>52.256001</td>\n",
       "      <td>50.848999</td>\n",
       "      <td>51.210999</td>\n",
       "      <td>50.511002</td>\n",
       "      <td>50.354000</td>\n",
       "      <td>50.147999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tunisia</th>\n",
       "      <td>24.385000</td>\n",
       "      <td>24.459999</td>\n",
       "      <td>24.445999</td>\n",
       "      <td>25.245001</td>\n",
       "      <td>25.143000</td>\n",
       "      <td>24.933001</td>\n",
       "      <td>24.726999</td>\n",
       "      <td>24.468000</td>\n",
       "      <td>24.226000</td>\n",
       "      <td>24.080000</td>\n",
       "      <td>23.909000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Turkey</th>\n",
       "      <td>25.478001</td>\n",
       "      <td>27.033001</td>\n",
       "      <td>28.323000</td>\n",
       "      <td>28.879000</td>\n",
       "      <td>30.101999</td>\n",
       "      <td>30.243000</td>\n",
       "      <td>31.475000</td>\n",
       "      <td>32.507000</td>\n",
       "      <td>33.571999</td>\n",
       "      <td>33.520000</td>\n",
       "      <td>33.458000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tanzania</th>\n",
       "      <td>84.781998</td>\n",
       "      <td>83.900002</td>\n",
       "      <td>82.952003</td>\n",
       "      <td>81.917000</td>\n",
       "      <td>80.780998</td>\n",
       "      <td>79.533997</td>\n",
       "      <td>79.553001</td>\n",
       "      <td>79.570000</td>\n",
       "      <td>79.577003</td>\n",
       "      <td>79.389000</td>\n",
       "      <td>79.203003</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uganda</th>\n",
       "      <td>65.688004</td>\n",
       "      <td>65.876999</td>\n",
       "      <td>66.081001</td>\n",
       "      <td>66.291000</td>\n",
       "      <td>66.430000</td>\n",
       "      <td>66.582001</td>\n",
       "      <td>66.744003</td>\n",
       "      <td>66.885002</td>\n",
       "      <td>67.037003</td>\n",
       "      <td>67.151001</td>\n",
       "      <td>67.269997</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Ukraine</th>\n",
       "      <td>48.445000</td>\n",
       "      <td>48.410000</td>\n",
       "      <td>48.250999</td>\n",
       "      <td>47.485001</td>\n",
       "      <td>48.376999</td>\n",
       "      <td>47.040001</td>\n",
       "      <td>47.360001</td>\n",
       "      <td>47.075001</td>\n",
       "      <td>46.938000</td>\n",
       "      <td>46.679001</td>\n",
       "      <td>46.396999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Upper middle income</th>\n",
       "      <td>56.201803</td>\n",
       "      <td>55.670890</td>\n",
       "      <td>55.570200</td>\n",
       "      <td>55.603981</td>\n",
       "      <td>55.382775</td>\n",
       "      <td>55.061678</td>\n",
       "      <td>54.994629</td>\n",
       "      <td>54.828160</td>\n",
       "      <td>54.693724</td>\n",
       "      <td>54.296955</td>\n",
       "      <td>53.875677</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uruguay</th>\n",
       "      <td>55.616001</td>\n",
       "      <td>55.334000</td>\n",
       "      <td>55.978001</td>\n",
       "      <td>55.787998</td>\n",
       "      <td>54.973999</td>\n",
       "      <td>55.965000</td>\n",
       "      <td>55.724998</td>\n",
       "      <td>55.926998</td>\n",
       "      <td>55.597000</td>\n",
       "      <td>55.771000</td>\n",
       "      <td>55.931000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>United States</th>\n",
       "      <td>58.144001</td>\n",
       "      <td>57.501999</td>\n",
       "      <td>56.930000</td>\n",
       "      <td>56.701000</td>\n",
       "      <td>56.292000</td>\n",
       "      <td>56.111000</td>\n",
       "      <td>55.834000</td>\n",
       "      <td>55.993999</td>\n",
       "      <td>56.313000</td>\n",
       "      <td>56.047001</td>\n",
       "      <td>55.778000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uzbekistan</th>\n",
       "      <td>52.606998</td>\n",
       "      <td>52.736000</td>\n",
       "      <td>52.865002</td>\n",
       "      <td>52.997002</td>\n",
       "      <td>53.129002</td>\n",
       "      <td>53.244999</td>\n",
       "      <td>53.327999</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.419998</td>\n",
       "      <td>53.412998</td>\n",
       "      <td>53.355999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>St. Vincent and the Grenadines</th>\n",
       "      <td>56.441002</td>\n",
       "      <td>56.416000</td>\n",
       "      <td>56.487000</td>\n",
       "      <td>56.708000</td>\n",
       "      <td>56.938999</td>\n",
       "      <td>57.042999</td>\n",
       "      <td>57.071999</td>\n",
       "      <td>57.206001</td>\n",
       "      <td>57.195999</td>\n",
       "      <td>57.278999</td>\n",
       "      <td>57.313999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Venezuela, RB</th>\n",
       "      <td>51.095001</td>\n",
       "      <td>50.619999</td>\n",
       "      <td>50.995998</td>\n",
       "      <td>50.584000</td>\n",
       "      <td>50.773998</td>\n",
       "      <td>50.542000</td>\n",
       "      <td>50.122002</td>\n",
       "      <td>48.775002</td>\n",
       "      <td>47.694000</td>\n",
       "      <td>47.743000</td>\n",
       "      <td>47.783001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Virgin Islands (U.S.)</th>\n",
       "      <td>58.008999</td>\n",
       "      <td>57.865002</td>\n",
       "      <td>57.429001</td>\n",
       "      <td>56.706001</td>\n",
       "      <td>56.375999</td>\n",
       "      <td>56.105999</td>\n",
       "      <td>55.855000</td>\n",
       "      <td>55.743000</td>\n",
       "      <td>55.769001</td>\n",
       "      <td>55.617001</td>\n",
       "      <td>55.433998</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Vietnam</th>\n",
       "      <td>71.398003</td>\n",
       "      <td>71.305000</td>\n",
       "      <td>71.459999</td>\n",
       "      <td>71.969002</td>\n",
       "      <td>72.902000</td>\n",
       "      <td>73.195000</td>\n",
       "      <td>72.945999</td>\n",
       "      <td>72.642998</td>\n",
       "      <td>72.697998</td>\n",
       "      <td>72.649002</td>\n",
       "      <td>72.541000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Vanuatu</th>\n",
       "      <td>61.069000</td>\n",
       "      <td>61.241001</td>\n",
       "      <td>61.323002</td>\n",
       "      <td>61.354000</td>\n",
       "      <td>61.379002</td>\n",
       "      <td>61.411999</td>\n",
       "      <td>61.584999</td>\n",
       "      <td>61.528000</td>\n",
       "      <td>61.484001</td>\n",
       "      <td>61.507999</td>\n",
       "      <td>61.533001</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>World</th>\n",
       "      <td>49.091606</td>\n",
       "      <td>48.677926</td>\n",
       "      <td>48.363017</td>\n",
       "      <td>48.164190</td>\n",
       "      <td>48.114513</td>\n",
       "      <td>48.033072</td>\n",
       "      <td>48.025554</td>\n",
       "      <td>48.027061</td>\n",
       "      <td>48.089157</td>\n",
       "      <td>47.883420</td>\n",
       "      <td>47.662671</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Samoa</th>\n",
       "      <td>24.337999</td>\n",
       "      <td>24.301001</td>\n",
       "      <td>24.173000</td>\n",
       "      <td>24.118000</td>\n",
       "      <td>24.091000</td>\n",
       "      <td>24.011999</td>\n",
       "      <td>23.916000</td>\n",
       "      <td>23.799000</td>\n",
       "      <td>23.740000</td>\n",
       "      <td>23.674999</td>\n",
       "      <td>23.587999</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Yemen, Rep.</th>\n",
       "      <td>10.798000</td>\n",
       "      <td>10.049000</td>\n",
       "      <td>8.848000</td>\n",
       "      <td>7.799000</td>\n",
       "      <td>6.884000</td>\n",
       "      <td>6.083000</td>\n",
       "      <td>6.106000</td>\n",
       "      <td>6.117000</td>\n",
       "      <td>6.138000</td>\n",
       "      <td>5.983000</td>\n",
       "      <td>5.827000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>South Africa</th>\n",
       "      <td>46.286999</td>\n",
       "      <td>44.728001</td>\n",
       "      <td>45.198002</td>\n",
       "      <td>45.418999</td>\n",
       "      <td>46.387001</td>\n",
       "      <td>46.612000</td>\n",
       "      <td>47.801998</td>\n",
       "      <td>47.797001</td>\n",
       "      <td>48.922001</td>\n",
       "      <td>48.848999</td>\n",
       "      <td>48.768002</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zambia</th>\n",
       "      <td>71.610001</td>\n",
       "      <td>71.059998</td>\n",
       "      <td>70.542999</td>\n",
       "      <td>70.021004</td>\n",
       "      <td>70.155998</td>\n",
       "      <td>70.295998</td>\n",
       "      <td>70.445000</td>\n",
       "      <td>70.585999</td>\n",
       "      <td>70.733002</td>\n",
       "      <td>70.752998</td>\n",
       "      <td>70.785004</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zimbabwe</th>\n",
       "      <td>77.295998</td>\n",
       "      <td>77.362000</td>\n",
       "      <td>77.492996</td>\n",
       "      <td>77.649002</td>\n",
       "      <td>77.796997</td>\n",
       "      <td>77.935997</td>\n",
       "      <td>78.069000</td>\n",
       "      <td>78.219002</td>\n",
       "      <td>78.387001</td>\n",
       "      <td>78.568001</td>\n",
       "      <td>78.733002</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>233 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                         2009       2010  \\\n",
       "country                                                                    \n",
       "Afghanistan                                         42.709000  42.735001   \n",
       "Angola                                              75.255997  75.306999   \n",
       "Albania                                             44.945000  45.693001   \n",
       "Arab World                                          20.052651  20.169026   \n",
       "United Arab Emirates                                42.514999  44.028999   \n",
       "Argentina                                           48.823002  47.833000   \n",
       "Armenia                                             48.299000  49.587002   \n",
       "Australia                                           58.821999  58.706001   \n",
       "Austria                                             53.373001  53.507000   \n",
       "Azerbaijan                                          59.617001  60.223000   \n",
       "Burundi                                             80.610001  80.349998   \n",
       "Belgium                                             46.745998  47.488998   \n",
       "Benin                                               68.933998  69.223999   \n",
       "Burkina Faso                                        60.092999  59.717999   \n",
       "Bangladesh                                          29.382000  29.882999   \n",
       "Bulgaria                                            48.089001  47.698002   \n",
       "Bahrain                                             42.604000  43.763000   \n",
       "Bahamas, The                                        68.639999  68.742996   \n",
       "Bosnia and Herzegovina                              37.223999  37.063999   \n",
       "Belarus                                             57.152000  57.540001   \n",
       "Belize                                              50.747002  51.938000   \n",
       "Bolivia                                             62.367001  62.019001   \n",
       "Brazil                                              54.966000  53.576000   \n",
       "Barbados                                            63.606998  63.492001   \n",
       "Brunei Darussalam                                   56.659000  56.928001   \n",
       "Bhutan                                              67.111000  64.556999   \n",
       "Botswana                                            56.265999  53.546001   \n",
       "Central African Republic                            65.655998  65.663002   \n",
       "Canada                                              61.874001  61.858002   \n",
       "Central Europe and the Baltics                      47.557086  47.988688   \n",
       "...                                                       ...        ...   \n",
       "Thailand                                            64.795998  63.848999   \n",
       "Tajikistan                                          29.667999  29.502001   \n",
       "Turkmenistan                                        52.314999  52.418999   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  51.629659  51.185245   \n",
       "Timor-Leste                                         27.209000  26.469000   \n",
       "Middle East & North Africa (IDA & IBRD countries)   18.371887  18.220439   \n",
       "Tonga                                               45.432999  45.334999   \n",
       "South Asia (IDA & IBRD)                             27.832411  27.050263   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           61.260450  60.996748   \n",
       "Trinidad and Tobago                                 51.660999  51.025002   \n",
       "Tunisia                                             24.385000  24.459999   \n",
       "Turkey                                              25.478001  27.033001   \n",
       "Tanzania                                            84.781998  83.900002   \n",
       "Uganda                                              65.688004  65.876999   \n",
       "Ukraine                                             48.445000  48.410000   \n",
       "Upper middle income                                 56.201803  55.670890   \n",
       "Uruguay                                             55.616001  55.334000   \n",
       "United States                                       58.144001  57.501999   \n",
       "Uzbekistan                                          52.606998  52.736000   \n",
       "St. Vincent and the Grenadines                      56.441002  56.416000   \n",
       "Venezuela, RB                                       51.095001  50.619999   \n",
       "Virgin Islands (U.S.)                               58.008999  57.865002   \n",
       "Vietnam                                             71.398003  71.305000   \n",
       "Vanuatu                                             61.069000  61.241001   \n",
       "World                                               49.091606  48.677926   \n",
       "Samoa                                               24.337999  24.301001   \n",
       "Yemen, Rep.                                         10.798000  10.049000   \n",
       "South Africa                                        46.286999  44.728001   \n",
       "Zambia                                              71.610001  71.059998   \n",
       "Zimbabwe                                            77.295998  77.362000   \n",
       "\n",
       "                                                         2011       2012  \\\n",
       "country                                                                    \n",
       "Afghanistan                                         43.327999  44.117001   \n",
       "Angola                                              75.344002  75.389000   \n",
       "Albania                                             47.104000  48.806000   \n",
       "Arab World                                          20.268955  20.453085   \n",
       "United Arab Emirates                                45.143002  46.213001   \n",
       "Argentina                                           48.102001  48.188000   \n",
       "Armenia                                             52.091999  51.969002   \n",
       "Australia                                           58.952000  58.826000   \n",
       "Austria                                             53.839001  54.337002   \n",
       "Azerbaijan                                          60.813999  61.104000   \n",
       "Burundi                                             80.112000  79.917999   \n",
       "Belgium                                             46.805000  46.889000   \n",
       "Benin                                               68.088997  68.207001   \n",
       "Burkina Faso                                        59.341000  58.971001   \n",
       "Bangladesh                                          30.371000  30.864000   \n",
       "Bulgaria                                            47.216999  47.825001   \n",
       "Bahrain                                             43.004002  43.202999   \n",
       "Bahamas, The                                        68.555000  68.616997   \n",
       "Bosnia and Herzegovina                              36.837002  36.547001   \n",
       "Belarus                                             57.861000  58.136002   \n",
       "Belize                                              53.235001  54.527000   \n",
       "Bolivia                                             61.651001  57.944000   \n",
       "Brazil                                              52.173000  53.077999   \n",
       "Barbados                                            63.287998  62.061001   \n",
       "Brunei Darussalam                                   57.191002  57.416000   \n",
       "Bhutan                                              62.270000  63.502998   \n",
       "Botswana                                            57.425999  61.106998   \n",
       "Central African Republic                            65.505997  65.321999   \n",
       "Canada                                              61.601002  61.612000   \n",
       "Central Europe and the Baltics                      47.890527  48.313518   \n",
       "...                                                       ...        ...   \n",
       "Thailand                                            65.963997  65.171997   \n",
       "Tajikistan                                          29.261000  28.990999   \n",
       "Turkmenistan                                        52.530998  52.680000   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  50.864398  51.698867   \n",
       "Timor-Leste                                         26.180000  25.913000   \n",
       "Middle East & North Africa (IDA & IBRD countries)   17.979422  17.871078   \n",
       "Tonga                                               45.306999  45.316002   \n",
       "South Asia (IDA & IBRD)                             26.050446  25.082699   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           60.923675  60.850175   \n",
       "Trinidad and Tobago                                 50.359001  51.640999   \n",
       "Tunisia                                             24.445999  25.245001   \n",
       "Turkey                                              28.323000  28.879000   \n",
       "Tanzania                                            82.952003  81.917000   \n",
       "Uganda                                              66.081001  66.291000   \n",
       "Ukraine                                             48.250999  47.485001   \n",
       "Upper middle income                                 55.570200  55.603981   \n",
       "Uruguay                                             55.978001  55.787998   \n",
       "United States                                       56.930000  56.701000   \n",
       "Uzbekistan                                          52.865002  52.997002   \n",
       "St. Vincent and the Grenadines                      56.487000  56.708000   \n",
       "Venezuela, RB                                       50.995998  50.584000   \n",
       "Virgin Islands (U.S.)                               57.429001  56.706001   \n",
       "Vietnam                                             71.459999  71.969002   \n",
       "Vanuatu                                             61.323002  61.354000   \n",
       "World                                               48.363017  48.164190   \n",
       "Samoa                                               24.173000  24.118000   \n",
       "Yemen, Rep.                                          8.848000   7.799000   \n",
       "South Africa                                        45.198002  45.418999   \n",
       "Zambia                                              70.542999  70.021004   \n",
       "Zimbabwe                                            77.492996  77.649002   \n",
       "\n",
       "                                                         2013       2014  \\\n",
       "country                                                                    \n",
       "Afghanistan                                         45.039001  46.016998   \n",
       "Angola                                              75.432999  75.464996   \n",
       "Albania                                             44.650002  44.789001   \n",
       "Arab World                                          20.753035  20.686165   \n",
       "United Arab Emirates                                47.263000  48.323002   \n",
       "Argentina                                           47.790001  47.157001   \n",
       "Armenia                                             52.631001  51.946999   \n",
       "Australia                                           58.707001  58.648998   \n",
       "Austria                                             54.598999  54.562000   \n",
       "Azerbaijan                                          61.323002  61.923000   \n",
       "Burundi                                             79.748001  79.573998   \n",
       "Belgium                                             47.594002  48.011002   \n",
       "Benin                                               68.351997  68.512001   \n",
       "Burkina Faso                                        58.606998  58.249001   \n",
       "Bangladesh                                          31.364000  31.871000   \n",
       "Bulgaria                                            48.528000  48.629002   \n",
       "Bahrain                                             43.404999  43.615002   \n",
       "Bahamas, The                                        68.436996  68.180000   \n",
       "Bosnia and Herzegovina                              36.273998  35.972000   \n",
       "Belarus                                             58.358002  58.527000   \n",
       "Belize                                              53.701000  52.930000   \n",
       "Bolivia                                             58.820999  60.900002   \n",
       "Brazil                                              52.976002  52.860001   \n",
       "Barbados                                            63.230999  61.855999   \n",
       "Brunei Darussalam                                   57.618000  57.810001   \n",
       "Bhutan                                              58.187000  54.931000   \n",
       "Botswana                                            64.554001  64.907997   \n",
       "Central African Republic                            65.056000  64.838997   \n",
       "Canada                                              61.683998  61.087002   \n",
       "Central Europe and the Baltics                      48.408511  48.811783   \n",
       "...                                                       ...        ...   \n",
       "Thailand                                            62.443001  61.446999   \n",
       "Tajikistan                                          28.712999  28.476000   \n",
       "Turkmenistan                                        52.830002  52.938999   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  51.559410  51.260341   \n",
       "Timor-Leste                                         25.681000  25.450001   \n",
       "Middle East & North Africa (IDA & IBRD countries)   17.951179  17.612709   \n",
       "Tonga                                               45.358002  45.323002   \n",
       "South Asia (IDA & IBRD)                             25.354484  25.580315   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           60.929255  60.901829   \n",
       "Trinidad and Tobago                                 51.896000  52.256001   \n",
       "Tunisia                                             25.143000  24.933001   \n",
       "Turkey                                              30.101999  30.243000   \n",
       "Tanzania                                            80.780998  79.533997   \n",
       "Uganda                                              66.430000  66.582001   \n",
       "Ukraine                                             48.376999  47.040001   \n",
       "Upper middle income                                 55.382775  55.061678   \n",
       "Uruguay                                             54.973999  55.965000   \n",
       "United States                                       56.292000  56.111000   \n",
       "Uzbekistan                                          53.129002  53.244999   \n",
       "St. Vincent and the Grenadines                      56.938999  57.042999   \n",
       "Venezuela, RB                                       50.773998  50.542000   \n",
       "Virgin Islands (U.S.)                               56.375999  56.105999   \n",
       "Vietnam                                             72.902000  73.195000   \n",
       "Vanuatu                                             61.379002  61.411999   \n",
       "World                                               48.114513  48.033072   \n",
       "Samoa                                               24.091000  24.011999   \n",
       "Yemen, Rep.                                          6.884000   6.083000   \n",
       "South Africa                                        46.387001  46.612000   \n",
       "Zambia                                              70.155998  70.295998   \n",
       "Zimbabwe                                            77.796997  77.935997   \n",
       "\n",
       "                                                         2015       2016  \\\n",
       "country                                                                    \n",
       "Afghanistan                                         47.000999  47.765999   \n",
       "Angola                                              75.478996  75.470001   \n",
       "Albania                                             47.675999  47.459000   \n",
       "Arab World                                          20.492409  20.589288   \n",
       "United Arab Emirates                                49.396000  50.161999   \n",
       "Argentina                                           47.825001  48.480000   \n",
       "Armenia                                             51.166000  49.441002   \n",
       "Australia                                           59.066002  59.247002   \n",
       "Austria                                             54.535999  54.945999   \n",
       "Azerbaijan                                          62.516998  62.963001   \n",
       "Burundi                                             79.844002  80.079002   \n",
       "Belgium                                             48.023998  47.765999   \n",
       "Benin                                               68.680000  68.835999   \n",
       "Burkina Faso                                        58.375999  58.497002   \n",
       "Bangladesh                                          32.383999  32.889999   \n",
       "Bulgaria                                            48.632999  47.764999   \n",
       "Bahrain                                             43.800999  44.011002   \n",
       "Bahamas, The                                        67.744003  67.530998   \n",
       "Bosnia and Herzegovina                              35.667000  35.258999   \n",
       "Belarus                                             58.641998  58.665001   \n",
       "Belize                                              52.212002  52.768002   \n",
       "Bolivia                                             54.508999  60.321999   \n",
       "Brazil                                              53.377998  53.320999   \n",
       "Barbados                                            61.860001  62.568001   \n",
       "Brunei Darussalam                                   58.000000  58.188000   \n",
       "Bhutan                                              57.764999  57.895000   \n",
       "Botswana                                            65.231003  65.524002   \n",
       "Central African Republic                            64.625000  64.691002   \n",
       "Canada                                              60.770000  60.806999   \n",
       "Central Europe and the Baltics                      48.818785  48.807143   \n",
       "...                                                       ...        ...   \n",
       "Thailand                                            60.957001  60.061001   \n",
       "Tajikistan                                          28.291000  28.084999   \n",
       "Turkmenistan                                        52.994999  52.986000   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  51.521785  51.721148   \n",
       "Timor-Leste                                         25.270000  25.160000   \n",
       "Middle East & North Africa (IDA & IBRD countries)   17.575307  18.002983   \n",
       "Tonga                                               45.230000  45.244999   \n",
       "South Asia (IDA & IBRD)                             25.875504  26.062319   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           61.045061  61.152641   \n",
       "Trinidad and Tobago                                 50.848999  51.210999   \n",
       "Tunisia                                             24.726999  24.468000   \n",
       "Turkey                                              31.475000  32.507000   \n",
       "Tanzania                                            79.553001  79.570000   \n",
       "Uganda                                              66.744003  66.885002   \n",
       "Ukraine                                             47.360001  47.075001   \n",
       "Upper middle income                                 54.994629  54.828160   \n",
       "Uruguay                                             55.724998  55.926998   \n",
       "United States                                       55.834000  55.993999   \n",
       "Uzbekistan                                          53.327999  53.377998   \n",
       "St. Vincent and the Grenadines                      57.071999  57.206001   \n",
       "Venezuela, RB                                       50.122002  48.775002   \n",
       "Virgin Islands (U.S.)                               55.855000  55.743000   \n",
       "Vietnam                                             72.945999  72.642998   \n",
       "Vanuatu                                             61.584999  61.528000   \n",
       "World                                               48.025554  48.027061   \n",
       "Samoa                                               23.916000  23.799000   \n",
       "Yemen, Rep.                                          6.106000   6.117000   \n",
       "South Africa                                        47.801998  47.797001   \n",
       "Zambia                                              70.445000  70.585999   \n",
       "Zimbabwe                                            78.069000  78.219002   \n",
       "\n",
       "                                                         2017       2018  \\\n",
       "country                                                                    \n",
       "Afghanistan                                         48.473999  48.660000   \n",
       "Angola                                              75.450996  75.412003   \n",
       "Albania                                             47.312000  47.191002   \n",
       "Arab World                                          20.536024  20.537448   \n",
       "United Arab Emirates                                51.266998  51.148998   \n",
       "Argentina                                           49.118000  48.966999   \n",
       "Armenia                                             49.419998  49.575001   \n",
       "Australia                                           59.693001  59.645000   \n",
       "Austria                                             54.868999  54.826000   \n",
       "Azerbaijan                                          63.262001  63.112999   \n",
       "Burundi                                             80.286003  80.348999   \n",
       "Belgium                                             47.891998  47.889000   \n",
       "Benin                                               69.016998  69.176002   \n",
       "Burkina Faso                                        58.626999  58.462002   \n",
       "Bangladesh                                          35.852001  35.999001   \n",
       "Bulgaria                                            49.626999  49.529999   \n",
       "Bahrain                                             44.352001  44.473000   \n",
       "Bahamas, The                                        67.527000  67.568001   \n",
       "Bosnia and Herzegovina                              35.726002  35.627998   \n",
       "Belarus                                             58.395000  58.126999   \n",
       "Belize                                              52.924999  53.280998   \n",
       "Bolivia                                             56.585999  56.595001   \n",
       "Brazil                                              54.167999  54.029999   \n",
       "Barbados                                            62.234001  61.894001   \n",
       "Brunei Darussalam                                   58.362000  58.220001   \n",
       "Bhutan                                              57.979000  58.202999   \n",
       "Botswana                                            65.836998  66.192001   \n",
       "Central African Republic                            64.791000  64.723999   \n",
       "Canada                                              61.015999  60.846001   \n",
       "Central Europe and the Baltics                      49.423060  49.226387   \n",
       "...                                                       ...        ...   \n",
       "Thailand                                            59.761002  59.465000   \n",
       "Tajikistan                                          27.886999  27.794001   \n",
       "Turkmenistan                                        52.926998  52.789001   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  52.035162  52.052128   \n",
       "Timor-Leste                                         25.202000  25.034000   \n",
       "Middle East & North Africa (IDA & IBRD countries)   17.846133  17.801293   \n",
       "Tonga                                               45.251999  45.250000   \n",
       "South Asia (IDA & IBRD)                             26.460767  26.371171   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           61.363740  61.381375   \n",
       "Trinidad and Tobago                                 50.511002  50.354000   \n",
       "Tunisia                                             24.226000  24.080000   \n",
       "Turkey                                              33.571999  33.520000   \n",
       "Tanzania                                            79.577003  79.389000   \n",
       "Uganda                                              67.037003  67.151001   \n",
       "Ukraine                                             46.938000  46.679001   \n",
       "Upper middle income                                 54.693724  54.296955   \n",
       "Uruguay                                             55.597000  55.771000   \n",
       "United States                                       56.313000  56.047001   \n",
       "Uzbekistan                                          53.419998  53.412998   \n",
       "St. Vincent and the Grenadines                      57.195999  57.278999   \n",
       "Venezuela, RB                                       47.694000  47.743000   \n",
       "Virgin Islands (U.S.)                               55.769001  55.617001   \n",
       "Vietnam                                             72.697998  72.649002   \n",
       "Vanuatu                                             61.484001  61.507999   \n",
       "World                                               48.089157  47.883420   \n",
       "Samoa                                               23.740000  23.674999   \n",
       "Yemen, Rep.                                          6.138000   5.983000   \n",
       "South Africa                                        48.922001  48.848999   \n",
       "Zambia                                              70.733002  70.752998   \n",
       "Zimbabwe                                            78.387001  78.568001   \n",
       "\n",
       "                                                         2019  \n",
       "country                                                        \n",
       "Afghanistan                                         48.848999  \n",
       "Angola                                              75.372002  \n",
       "Albania                                             47.081001  \n",
       "Arab World                                          20.525228  \n",
       "United Arab Emirates                                51.067001  \n",
       "Argentina                                           48.813999  \n",
       "Armenia                                             49.674000  \n",
       "Australia                                           59.591000  \n",
       "Austria                                             54.745998  \n",
       "Azerbaijan                                          62.916000  \n",
       "Burundi                                             80.363998  \n",
       "Belgium                                             47.867001  \n",
       "Benin                                               69.334999  \n",
       "Burkina Faso                                        58.292000  \n",
       "Bangladesh                                          36.143002  \n",
       "Bulgaria                                            49.416000  \n",
       "Bahrain                                             44.612999  \n",
       "Bahamas, The                                        67.540001  \n",
       "Bosnia and Herzegovina                              35.521000  \n",
       "Belarus                                             57.827000  \n",
       "Belize                                              53.648998  \n",
       "Bolivia                                             56.611000  \n",
       "Brazil                                              53.882000  \n",
       "Barbados                                            61.528000  \n",
       "Brunei Darussalam                                   58.071999  \n",
       "Bhutan                                              58.389000  \n",
       "Botswana                                            66.519997  \n",
       "Central African Republic                            64.667000  \n",
       "Canada                                              60.658001  \n",
       "Central Europe and the Baltics                      49.018014  \n",
       "...                                                       ...  \n",
       "Thailand                                            59.150002  \n",
       "Tajikistan                                          27.684999  \n",
       "Turkmenistan                                        52.633999  \n",
       "Latin America & the Caribbean (IDA & IBRD count...  52.059513  \n",
       "Timor-Leste                                         24.851000  \n",
       "Middle East & North Africa (IDA & IBRD countries)   17.738633  \n",
       "Tonga                                               45.209999  \n",
       "South Asia (IDA & IBRD)                             26.278402  \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           61.395935  \n",
       "Trinidad and Tobago                                 50.147999  \n",
       "Tunisia                                             23.909000  \n",
       "Turkey                                              33.458000  \n",
       "Tanzania                                            79.203003  \n",
       "Uganda                                              67.269997  \n",
       "Ukraine                                             46.396999  \n",
       "Upper middle income                                 53.875677  \n",
       "Uruguay                                             55.931000  \n",
       "United States                                       55.778000  \n",
       "Uzbekistan                                          53.355999  \n",
       "St. Vincent and the Grenadines                      57.313999  \n",
       "Venezuela, RB                                       47.783001  \n",
       "Virgin Islands (U.S.)                               55.433998  \n",
       "Vietnam                                             72.541000  \n",
       "Vanuatu                                             61.533001  \n",
       "World                                               47.662671  \n",
       "Samoa                                               23.587999  \n",
       "Yemen, Rep.                                          5.827000  \n",
       "South Africa                                        48.768002  \n",
       "Zambia                                              70.785004  \n",
       "Zimbabwe                                            78.733002  \n",
       "\n",
       "[233 rows x 11 columns]"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfc2=dfc1.set_index('country')\n",
    "dfc2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['2010', '2011', '2012', '2013', '2014', '2015', '2016', '2017',\n",
       "       '2018', '2019'], dtype=object)"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfc2.columns.values[1:]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 40,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Canada</th>\n",
       "      <td>61.874001</td>\n",
       "      <td>61.858002</td>\n",
       "      <td>61.601002</td>\n",
       "      <td>61.612</td>\n",
       "      <td>61.683998</td>\n",
       "      <td>61.087002</td>\n",
       "      <td>60.77</td>\n",
       "      <td>60.806999</td>\n",
       "      <td>61.015999</td>\n",
       "      <td>60.846001</td>\n",
       "      <td>60.658001</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              2009       2010       2011    2012       2013       2014   2015  \\\n",
       "country                                                                         \n",
       "Canada   61.874001  61.858002  61.601002  61.612  61.683998  61.087002  60.77   \n",
       "\n",
       "              2016       2017       2018       2019  \n",
       "country                                              \n",
       "Canada   60.806999  61.015999  60.846001  60.658001  "
      ]
     },
     "execution_count": 40,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "加拿大=dfc2[28:29]\n",
    "加拿大"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[61.85800171,\n",
       " 61.60100174,\n",
       " 61.61199951,\n",
       " 61.68399811,\n",
       " 61.087001799999996,\n",
       " 60.77000046,\n",
       " 60.80699921,\n",
       " 61.01599884,\n",
       " 60.84600067,\n",
       " 60.65800095]"
      ]
     },
     "execution_count": 41,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Canada = list(dfc2.loc[\"Canada\"].values)[1:]\n",
    "Canada"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 42,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>United Arab Emirates</th>\n",
       "      <td>42.514999</td>\n",
       "      <td>44.028999</td>\n",
       "      <td>45.143002</td>\n",
       "      <td>46.213001</td>\n",
       "      <td>47.263</td>\n",
       "      <td>48.323002</td>\n",
       "      <td>49.396</td>\n",
       "      <td>50.161999</td>\n",
       "      <td>51.266998</td>\n",
       "      <td>51.148998</td>\n",
       "      <td>51.067001</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                           2009       2010       2011       2012    2013  \\\n",
       "country                                                                    \n",
       "United Arab Emirates  42.514999  44.028999  45.143002  46.213001  47.263   \n",
       "\n",
       "                           2014    2015       2016       2017       2018  \\\n",
       "country                                                                    \n",
       "United Arab Emirates  48.323002  49.396  50.161999  51.266998  51.148998   \n",
       "\n",
       "                           2019  \n",
       "country                          \n",
       "United Arab Emirates  51.067001  "
      ]
     },
     "execution_count": 42,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "阿拉伯联合酋长国=dfc2[4:5]\n",
    "阿拉伯联合酋长国"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 43,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[44.02899933,\n",
       " 45.14300156,\n",
       " 46.21300125,\n",
       " 47.26300049,\n",
       " 48.32300186,\n",
       " 49.39599991,\n",
       " 50.16199875,\n",
       " 51.26699829,\n",
       " 51.14899826,\n",
       " 51.06700134]"
      ]
     },
     "execution_count": 43,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "United_Arab_Emirates=list(dfc2.loc[\"United Arab Emirates\"].values)[1:]\n",
    "United_Arab_Emirates"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Nepal</th>\n",
       "      <td>79.126999</td>\n",
       "      <td>79.311996</td>\n",
       "      <td>79.731003</td>\n",
       "      <td>80.167</td>\n",
       "      <td>80.575996</td>\n",
       "      <td>80.903</td>\n",
       "      <td>81.130997</td>\n",
       "      <td>81.43</td>\n",
       "      <td>81.662003</td>\n",
       "      <td>81.666</td>\n",
       "      <td>81.684998</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              2009       2010       2011    2012       2013    2014  \\\n",
       "country                                                               \n",
       "Nepal    79.126999  79.311996  79.731003  80.167  80.575996  80.903   \n",
       "\n",
       "              2015   2016       2017    2018       2019  \n",
       "country                                                  \n",
       "Nepal    81.130997  81.43  81.662003  81.666  81.684998  "
      ]
     },
     "execution_count": 44,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "尼泊尔=dfc2[154:155]\n",
    "尼泊尔"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 45,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[79.31199646,\n",
       " 79.73100281,\n",
       " 80.16699982,\n",
       " 80.57599640000001,\n",
       " 80.90299988,\n",
       " 81.13099670000001,\n",
       " 81.43000031,\n",
       " 81.66200256,\n",
       " 81.66600037,\n",
       " 81.68499756]"
      ]
     },
     "execution_count": 45,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Nepal=list(dfc2.loc[\"Nepal\"].values)[1:]\n",
    "Nepal"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Brazil</th>\n",
       "      <td>54.966</td>\n",
       "      <td>53.576</td>\n",
       "      <td>52.173</td>\n",
       "      <td>53.077999</td>\n",
       "      <td>52.976002</td>\n",
       "      <td>52.860001</td>\n",
       "      <td>53.377998</td>\n",
       "      <td>53.320999</td>\n",
       "      <td>54.167999</td>\n",
       "      <td>54.029999</td>\n",
       "      <td>53.882</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           2009    2010    2011       2012       2013       2014       2015  \\\n",
       "country                                                                       \n",
       "Brazil   54.966  53.576  52.173  53.077999  52.976002  52.860001  53.377998   \n",
       "\n",
       "              2016       2017       2018    2019  \n",
       "country                                           \n",
       "Brazil   53.320999  54.167999  54.029999  53.882  "
      ]
     },
     "execution_count": 46,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "巴西=dfc2[22:23]\n",
    "巴西"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[53.57600021,\n",
       " 52.17300034,\n",
       " 53.07799911,\n",
       " 52.97600174,\n",
       " 52.86000061,\n",
       " 53.37799835,\n",
       " 53.32099915,\n",
       " 54.16799927,\n",
       " 54.02999878,\n",
       " 53.88199997]"
      ]
     },
     "execution_count": 47,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Brazil=list(dfc2.loc[\"Brazil\"].values)[1:]\n",
    "Brazil"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Egypt, Arab Rep.</th>\n",
       "      <td>22.687</td>\n",
       "      <td>22.632999</td>\n",
       "      <td>22.040001</td>\n",
       "      <td>22.504999</td>\n",
       "      <td>23.386</td>\n",
       "      <td>23.688999</td>\n",
       "      <td>22.552</td>\n",
       "      <td>22.85</td>\n",
       "      <td>22.733999</td>\n",
       "      <td>22.834</td>\n",
       "      <td>22.934999</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                    2009       2010       2011       2012    2013       2014  \\\n",
       "country                                                                        \n",
       "Egypt, Arab Rep.  22.687  22.632999  22.040001  22.504999  23.386  23.688999   \n",
       "\n",
       "                    2015   2016       2017    2018       2019  \n",
       "country                                                        \n",
       "Egypt, Arab Rep.  22.552  22.85  22.733999  22.834  22.934999  "
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "埃及=dfc2[57:58]\n",
    "埃及"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[22.63299942,\n",
       " 22.04000092,\n",
       " 22.50499916,\n",
       " 23.38599968,\n",
       " 23.68899918,\n",
       " 22.55200005,\n",
       " 22.85000038,\n",
       " 22.73399925,\n",
       " 22.83399963,\n",
       " 22.93499947]"
      ]
     },
     "execution_count": 49,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Egypt=list(dfc2.loc[\"Egypt, Arab Rep.\"].values)[1:]\n",
    "Egypt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Cambodia</th>\n",
       "      <td>81.016998</td>\n",
       "      <td>81.841003</td>\n",
       "      <td>80.660004</td>\n",
       "      <td>79.413002</td>\n",
       "      <td>78.108002</td>\n",
       "      <td>76.745003</td>\n",
       "      <td>75.323998</td>\n",
       "      <td>75.223</td>\n",
       "      <td>75.132004</td>\n",
       "      <td>75.169998</td>\n",
       "      <td>75.200996</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "               2009       2010       2011       2012       2013       2014  \\\n",
       "country                                                                      \n",
       "Cambodia  81.016998  81.841003  80.660004  79.413002  78.108002  76.745003   \n",
       "\n",
       "               2015    2016       2017       2018       2019  \n",
       "country                                                       \n",
       "Cambodia  75.323998  75.223  75.132004  75.169998  75.200996  "
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "柬埔寨=dfc2[106:107]\n",
    "柬埔寨"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[81.84100342,\n",
       " 80.66000366,\n",
       " 79.41300201,\n",
       " 78.10800171,\n",
       " 76.74500275,\n",
       " 75.3239975,\n",
       " 75.22299957,\n",
       " 75.13200378,\n",
       " 75.16999817,\n",
       " 75.20099640000001]"
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Cambodia=list(dfc2.loc[\"Cambodia\"].values)[1:]\n",
    "Cambodia"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Rwanda</th>\n",
       "      <td>84.335999</td>\n",
       "      <td>84.371002</td>\n",
       "      <td>84.370003</td>\n",
       "      <td>84.315002</td>\n",
       "      <td>84.211998</td>\n",
       "      <td>84.082001</td>\n",
       "      <td>84.126999</td>\n",
       "      <td>84.158997</td>\n",
       "      <td>84.178001</td>\n",
       "      <td>84.172997</td>\n",
       "      <td>84.160004</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "              2009       2010       2011       2012       2013       2014  \\\n",
       "country                                                                     \n",
       "Rwanda   84.335999  84.371002  84.370003  84.315002  84.211998  84.082001   \n",
       "\n",
       "              2015       2016       2017       2018       2019  \n",
       "country                                                         \n",
       "Rwanda   84.126999  84.158997  84.178001  84.172997  84.160004  "
      ]
     },
     "execution_count": 52,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "卢旺达=dfc2[177:178]\n",
    "卢旺达"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[84.3710022,\n",
       " 84.37000275,\n",
       " 84.31500244,\n",
       " 84.21199799,\n",
       " 84.08200073,\n",
       " 84.1269989,\n",
       " 84.15899658,\n",
       " 84.17800140000001,\n",
       " 84.17299652,\n",
       " 84.16000366]"
      ]
     },
     "execution_count": 53,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Rwanda=list(dfc2.loc[\"Rwanda\"].values)[1:]\n",
    "Rwanda"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Madagascar</th>\n",
       "      <td>86.698998</td>\n",
       "      <td>87.117996</td>\n",
       "      <td>86.862</td>\n",
       "      <td>86.554001</td>\n",
       "      <td>85.677002</td>\n",
       "      <td>84.671997</td>\n",
       "      <td>83.516998</td>\n",
       "      <td>83.498001</td>\n",
       "      <td>83.490997</td>\n",
       "      <td>83.594002</td>\n",
       "      <td>83.699997</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                 2009       2010    2011       2012       2013       2014  \\\n",
       "country                                                                     \n",
       "Madagascar  86.698998  87.117996  86.862  86.554001  85.677002  84.671997   \n",
       "\n",
       "                 2015       2016       2017       2018       2019  \n",
       "country                                                            \n",
       "Madagascar  83.516998  83.498001  83.490997  83.594002  83.699997  "
      ]
     },
     "execution_count": 54,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "马达加斯加 =dfc2[129:130]\n",
    "马达加斯加"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[87.11799622,\n",
       " 86.86199951,\n",
       " 86.55400085,\n",
       " 85.67700195,\n",
       " 84.67199707,\n",
       " 83.51699829,\n",
       " 83.4980011,\n",
       " 83.49099731,\n",
       " 83.59400177,\n",
       " 83.69999695]"
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Madagascar=list(dfc2.loc[\"Madagascar\"].values)[1:]\n",
    "Madagascar"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019]"
      ]
     },
     "execution_count": 56,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "x = [int(x)for x in dfc1.columns.values[1:]]\n",
    "x"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'C:\\\\Users\\\\Administrator\\\\Desktop\\\\王子佳\\\\render.html'"
      ]
     },
     "execution_count": 57,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts.faker import Faker\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Bar, Line, Page\n",
    "\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    x =  [int(x)for x in dfc1.columns.values[1:]]\n",
    "    c = (\n",
    "        Bar()\n",
    "        .add_xaxis(x)\n",
    "        .add_yaxis(\"加拿大\", Canada)\n",
    "        .add_yaxis(\"阿拉伯\",United_Arab_Emirates)\n",
    "        .add_yaxis(\"尼泊尔\", Nepal)\n",
    "        .add_yaxis(\"巴西\", Brazil)\n",
    "        .add_yaxis(\"埃及\", Egypt)\n",
    "        .add_yaxis(\"柬埔寨\", Cambodia)\n",
    "        .add_yaxis(\"卢旺达\", Rwanda)\n",
    "        .add_yaxis(\"马达加斯加\", Madagascar)\n",
    "        .set_global_opts(title_opts=opts.TitleOpts(title=\"女性劳动力劳动参与率\", subtitle=\"2009-2019\"))\n",
    "    )\n",
    "    return c\n",
    "\n",
    "\n",
    "def line_base() -> Line:\n",
    "    c = (\n",
    "        Line()\n",
    "        .add_xaxis(['2009','2010','2011','2012','2013','2014','2015','2016','2017','2018','2019'])\n",
    "        .add_yaxis(\"加拿大\", Canada)\n",
    "        .add_yaxis(\"阿拉伯\",United_Arab_Emirates)\n",
    "        .add_yaxis(\"尼泊尔\", Nepal)\n",
    "        .add_yaxis(\"巴西\", Brazil)\n",
    "        .add_yaxis(\"埃及\", Egypt)\n",
    "        .add_yaxis(\"柬埔寨\", Cambodia)\n",
    "        .add_yaxis(\"卢旺达\", Rwanda)\n",
    "        .add_yaxis(\"马达加斯加\", Madagascar)\n",
    "        .set_global_opts(title_opts=opts.TitleOpts(title=\"女性劳动力劳动参与率\"))\n",
    "    )\n",
    "    return c\n",
    "\n",
    "\n",
    "page = Page()\n",
    "page.add(bar_base(), line_base())\n",
    "page.render()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 通过对比不同收入国家的图表，可以发现，除低收入的卢旺达和马达加斯加以外，其他同等收入的两个国家女性劳动力参\n",
    "\n",
    "#### 与劳动比率都相差较大。因此可以得出，除宗教因素外，收入也是决定女性是否参与劳动的重要指标之一。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 1.首先来看高收入国家，加拿大的女性劳动力参与劳动比率在维持平稳的情况下呈微弱的下降趋势。而阿拉伯联合酋长国相\n",
    "\n",
    "#### 比起来女性劳动力参与劳动比率则上升得较快，在进入50%后呈平稳增长态势。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 2.其次阿拉伯联合酋长国信奉伊斯兰教，但是同为信奉伊斯兰教的埃及女性劳动力参与劳动比率却只有23%，相比起收入，宗\n",
    "\n",
    "#### 教似乎对女性的影响并没有那么大。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 3.然后来看中高收入国家，尼泊尔的女性劳动力参与劳动比率高达65-68%，但是巴西的女性劳动力参与劳动比率却只有52-53%。\n",
    "\n",
    "#### 两个国家的支柱产业都是农业，但是巴西的科技发达程度远高于尼泊尔，巴西农业的机械化水平比较高，因此巴西的农\n",
    "\n",
    "#### 业从业人数远比尼泊尔低，这也是女性劳动力参与劳动比率比尼泊尔低的原因之一。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 4.中低收入国家中，柬埔寨和埃及的女性劳动力参与比率是两个极端，柬埔寨超过了70%，虽然不断在下降，但女性劳动力参与\n",
    "\n",
    "#### 劳动比率仍在世界前列。埃及的比率则低于30%，只有22%-23%，女性劳动力参与劳动比率居世界末列。埃及信奉伊斯\n",
    "\n",
    "#### 兰教，女性地位较低，女性家庭责任重大；而柬埔寨作为东南亚国家，农业比重大，女性需要从事农业活动，农业劳作属\n",
    "\n",
    "#### 于家庭责任的一部分，因此女性劳动力参与劳动比率高。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 5.卢旺达与柬埔寨同为非洲撒哈拉以南国家和低收入国家，国家相对封闭落后，经济不发达。对于他们来说，收入才是最主要的，\n",
    "\n",
    "#### 因此男性劳动力与女性劳动力参与劳动的比率都非常高。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## 高等学校女性入学比例"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>country</th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Aruba</td>\n",
       "      <td>1.43284</td>\n",
       "      <td>1.41237</td>\n",
       "      <td>1.49926</td>\n",
       "      <td>1.49460</td>\n",
       "      <td>2.20461</td>\n",
       "      <td>2.27028</td>\n",
       "      <td>2.26241</td>\n",
       "      <td>1.94031</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Afghanistan</td>\n",
       "      <td>0.23639</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.34565</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.27600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.34523</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Angola</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.36925</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.79661</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.78541</td>\n",
       "      <td>0.82566</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Albania</td>\n",
       "      <td>1.36375</td>\n",
       "      <td>1.35543</td>\n",
       "      <td>1.37539</td>\n",
       "      <td>1.39701</td>\n",
       "      <td>1.40728</td>\n",
       "      <td>1.43551</td>\n",
       "      <td>1.42608</td>\n",
       "      <td>1.47336</td>\n",
       "      <td>1.52645</td>\n",
       "      <td>1.56984</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Andorra</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Arab World</td>\n",
       "      <td>1.04094</td>\n",
       "      <td>1.04136</td>\n",
       "      <td>1.04497</td>\n",
       "      <td>1.03854</td>\n",
       "      <td>1.03392</td>\n",
       "      <td>1.03775</td>\n",
       "      <td>1.06004</td>\n",
       "      <td>1.08843</td>\n",
       "      <td>1.07958</td>\n",
       "      <td>1.10959</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>United Arab Emirates</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Argentina</td>\n",
       "      <td>1.49186</td>\n",
       "      <td>1.49160</td>\n",
       "      <td>1.54854</td>\n",
       "      <td>1.56222</td>\n",
       "      <td>1.60015</td>\n",
       "      <td>1.61270</td>\n",
       "      <td>1.63170</td>\n",
       "      <td>1.65707</td>\n",
       "      <td>1.66431</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Armenia</td>\n",
       "      <td>1.23839</td>\n",
       "      <td>1.21927</td>\n",
       "      <td>1.18578</td>\n",
       "      <td>1.18178</td>\n",
       "      <td>1.13286</td>\n",
       "      <td>1.14013</td>\n",
       "      <td>1.19169</td>\n",
       "      <td>1.26878</td>\n",
       "      <td>1.27369</td>\n",
       "      <td>1.32958</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>American Samoa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Antigua and Barbuda</td>\n",
       "      <td>2.27844</td>\n",
       "      <td>2.68089</td>\n",
       "      <td>2.07896</td>\n",
       "      <td>2.24567</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Australia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.44446</td>\n",
       "      <td>1.42971</td>\n",
       "      <td>1.42093</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Austria</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.19662</td>\n",
       "      <td>1.19258</td>\n",
       "      <td>1.19299</td>\n",
       "      <td>1.18812</td>\n",
       "      <td>1.18463</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>Azerbaijan</td>\n",
       "      <td>0.98681</td>\n",
       "      <td>0.98937</td>\n",
       "      <td>1.01629</td>\n",
       "      <td>1.04769</td>\n",
       "      <td>1.11285</td>\n",
       "      <td>1.14195</td>\n",
       "      <td>1.16234</td>\n",
       "      <td>1.17749</td>\n",
       "      <td>1.14894</td>\n",
       "      <td>1.14603</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>Burundi</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.54268</td>\n",
       "      <td>0.46166</td>\n",
       "      <td>0.48504</td>\n",
       "      <td>0.44494</td>\n",
       "      <td>0.32848</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.42868</td>\n",
       "      <td>0.44861</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>Belgium</td>\n",
       "      <td>1.24892</td>\n",
       "      <td>1.26628</td>\n",
       "      <td>1.27115</td>\n",
       "      <td>1.28248</td>\n",
       "      <td>1.29505</td>\n",
       "      <td>1.30332</td>\n",
       "      <td>1.30720</td>\n",
       "      <td>1.30150</td>\n",
       "      <td>1.30557</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>Benin</td>\n",
       "      <td>0.39077</td>\n",
       "      <td>0.35390</td>\n",
       "      <td>0.27232</td>\n",
       "      <td>0.34509</td>\n",
       "      <td>0.38012</td>\n",
       "      <td>0.36512</td>\n",
       "      <td>0.40193</td>\n",
       "      <td>0.42069</td>\n",
       "      <td>0.43936</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>Burkina Faso</td>\n",
       "      <td>0.48354</td>\n",
       "      <td>0.47905</td>\n",
       "      <td>0.49631</td>\n",
       "      <td>0.49568</td>\n",
       "      <td>0.49261</td>\n",
       "      <td>0.48590</td>\n",
       "      <td>0.52272</td>\n",
       "      <td>0.51226</td>\n",
       "      <td>0.52122</td>\n",
       "      <td>0.58203</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>Bangladesh</td>\n",
       "      <td>0.59971</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.69404</td>\n",
       "      <td>0.72256</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.73733</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.70066</td>\n",
       "      <td>0.70081</td>\n",
       "      <td>0.70714</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>Bulgaria</td>\n",
       "      <td>1.32993</td>\n",
       "      <td>1.32290</td>\n",
       "      <td>1.29973</td>\n",
       "      <td>1.27459</td>\n",
       "      <td>1.27105</td>\n",
       "      <td>1.25935</td>\n",
       "      <td>1.27605</td>\n",
       "      <td>1.24473</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>Bahrain</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.71121</td>\n",
       "      <td>2.03262</td>\n",
       "      <td>2.23749</td>\n",
       "      <td>1.97832</td>\n",
       "      <td>1.91666</td>\n",
       "      <td>1.86808</td>\n",
       "      <td>1.89295</td>\n",
       "      <td>1.83390</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>Bahamas, The</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>Bosnia and Herzegovina</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>Belarus</td>\n",
       "      <td>1.47214</td>\n",
       "      <td>1.44655</td>\n",
       "      <td>1.42699</td>\n",
       "      <td>1.39937</td>\n",
       "      <td>1.35478</td>\n",
       "      <td>1.33626</td>\n",
       "      <td>1.32835</td>\n",
       "      <td>1.29107</td>\n",
       "      <td>1.24343</td>\n",
       "      <td>1.18604</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>Belize</td>\n",
       "      <td>1.66270</td>\n",
       "      <td>1.59618</td>\n",
       "      <td>1.65815</td>\n",
       "      <td>1.65322</td>\n",
       "      <td>1.64151</td>\n",
       "      <td>1.65257</td>\n",
       "      <td>1.60790</td>\n",
       "      <td>1.61911</td>\n",
       "      <td>1.62002</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>Bermuda</td>\n",
       "      <td>2.52370</td>\n",
       "      <td>2.05683</td>\n",
       "      <td>2.06675</td>\n",
       "      <td>1.98982</td>\n",
       "      <td>2.22829</td>\n",
       "      <td>1.87512</td>\n",
       "      <td>2.31080</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.68152</td>\n",
       "      <td>1.49869</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>Bolivia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>Brazil</td>\n",
       "      <td>1.32152</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.31336</td>\n",
       "      <td>1.34778</td>\n",
       "      <td>1.35137</td>\n",
       "      <td>1.36005</td>\n",
       "      <td>1.33980</td>\n",
       "      <td>1.38149</td>\n",
       "      <td>1.36569</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>Barbados</td>\n",
       "      <td>2.20390</td>\n",
       "      <td>2.18271</td>\n",
       "      <td>2.24550</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>Brunei Darussalam</td>\n",
       "      <td>1.78264</td>\n",
       "      <td>1.86650</td>\n",
       "      <td>1.76483</td>\n",
       "      <td>1.76696</td>\n",
       "      <td>1.85738</td>\n",
       "      <td>1.73538</td>\n",
       "      <td>1.70615</td>\n",
       "      <td>1.65575</td>\n",
       "      <td>1.62027</td>\n",
       "      <td>1.56193</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>234</th>\n",
       "      <td>Latin America &amp; the Caribbean (IDA &amp; IBRD coun...</td>\n",
       "      <td>1.26326</td>\n",
       "      <td>1.27645</td>\n",
       "      <td>1.27155</td>\n",
       "      <td>1.28637</td>\n",
       "      <td>1.28794</td>\n",
       "      <td>1.29219</td>\n",
       "      <td>1.28962</td>\n",
       "      <td>1.29674</td>\n",
       "      <td>1.29734</td>\n",
       "      <td>1.29563</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>235</th>\n",
       "      <td>Timor-Leste</td>\n",
       "      <td>0.68262</td>\n",
       "      <td>0.71834</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>236</th>\n",
       "      <td>Middle East &amp; North Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>1.00396</td>\n",
       "      <td>0.98703</td>\n",
       "      <td>1.00101</td>\n",
       "      <td>1.00010</td>\n",
       "      <td>0.97806</td>\n",
       "      <td>0.96614</td>\n",
       "      <td>0.97803</td>\n",
       "      <td>0.99614</td>\n",
       "      <td>0.99814</td>\n",
       "      <td>1.01615</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>237</th>\n",
       "      <td>Tonga</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>238</th>\n",
       "      <td>South Asia (IDA &amp; IBRD)</td>\n",
       "      <td>0.71430</td>\n",
       "      <td>0.73983</td>\n",
       "      <td>0.79237</td>\n",
       "      <td>0.87568</td>\n",
       "      <td>0.92636</td>\n",
       "      <td>0.96754</td>\n",
       "      <td>0.96198</td>\n",
       "      <td>0.96763</td>\n",
       "      <td>0.98945</td>\n",
       "      <td>1.01186</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>239</th>\n",
       "      <td>Sub-Saharan Africa (IDA &amp; IBRD countries)</td>\n",
       "      <td>0.70838</td>\n",
       "      <td>0.70587</td>\n",
       "      <td>0.69073</td>\n",
       "      <td>0.71461</td>\n",
       "      <td>0.72391</td>\n",
       "      <td>0.72271</td>\n",
       "      <td>0.73492</td>\n",
       "      <td>0.74392</td>\n",
       "      <td>0.75258</td>\n",
       "      <td>0.75471</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>240</th>\n",
       "      <td>Trinidad and Tobago</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>241</th>\n",
       "      <td>Tunisia</td>\n",
       "      <td>1.50840</td>\n",
       "      <td>1.55235</td>\n",
       "      <td>1.63399</td>\n",
       "      <td>1.57185</td>\n",
       "      <td>1.59912</td>\n",
       "      <td>1.64585</td>\n",
       "      <td>1.65751</td>\n",
       "      <td>1.73072</td>\n",
       "      <td>1.80442</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>242</th>\n",
       "      <td>Turkey</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>243</th>\n",
       "      <td>Tuvalu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>244</th>\n",
       "      <td>Tanzania</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.82463</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.54915</td>\n",
       "      <td>0.54125</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.53811</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>245</th>\n",
       "      <td>Uganda</td>\n",
       "      <td>0.75974</td>\n",
       "      <td>0.74625</td>\n",
       "      <td>0.73313</td>\n",
       "      <td>0.68457</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.72971</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>246</th>\n",
       "      <td>Ukraine</td>\n",
       "      <td>1.27167</td>\n",
       "      <td>1.25648</td>\n",
       "      <td>1.18348</td>\n",
       "      <td>1.15083</td>\n",
       "      <td>1.19260</td>\n",
       "      <td>1.15601</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>247</th>\n",
       "      <td>Upper middle income</td>\n",
       "      <td>1.15972</td>\n",
       "      <td>1.16757</td>\n",
       "      <td>1.17606</td>\n",
       "      <td>1.17781</td>\n",
       "      <td>1.17991</td>\n",
       "      <td>1.17814</td>\n",
       "      <td>1.18721</td>\n",
       "      <td>1.19392</td>\n",
       "      <td>1.19559</td>\n",
       "      <td>1.20171</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>248</th>\n",
       "      <td>Uruguay</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>249</th>\n",
       "      <td>United States</td>\n",
       "      <td>1.40157</td>\n",
       "      <td>1.39311</td>\n",
       "      <td>1.38578</td>\n",
       "      <td>1.39345</td>\n",
       "      <td>1.37343</td>\n",
       "      <td>1.36078</td>\n",
       "      <td>1.35624</td>\n",
       "      <td>1.34487</td>\n",
       "      <td>1.36020</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>250</th>\n",
       "      <td>Uzbekistan</td>\n",
       "      <td>0.69056</td>\n",
       "      <td>0.68058</td>\n",
       "      <td>0.64384</td>\n",
       "      <td>0.59820</td>\n",
       "      <td>0.59647</td>\n",
       "      <td>0.62043</td>\n",
       "      <td>0.62901</td>\n",
       "      <td>0.64671</td>\n",
       "      <td>0.60792</td>\n",
       "      <td>0.69772</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>251</th>\n",
       "      <td>St. Vincent and the Grenadines</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.21255</td>\n",
       "      <td>1.67388</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>252</th>\n",
       "      <td>Venezuela, RB</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>253</th>\n",
       "      <td>British Virgin Islands</td>\n",
       "      <td>1.59500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.79420</td>\n",
       "      <td>1.58504</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>254</th>\n",
       "      <td>Virgin Islands (U.S.)</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>255</th>\n",
       "      <td>Vietnam</td>\n",
       "      <td>1.00745</td>\n",
       "      <td>1.01665</td>\n",
       "      <td>1.02616</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.90818</td>\n",
       "      <td>1.05553</td>\n",
       "      <td>1.00551</td>\n",
       "      <td>1.24238</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>256</th>\n",
       "      <td>Vanuatu</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>257</th>\n",
       "      <td>World</td>\n",
       "      <td>1.07637</td>\n",
       "      <td>1.07705</td>\n",
       "      <td>1.07587</td>\n",
       "      <td>1.09559</td>\n",
       "      <td>1.10652</td>\n",
       "      <td>1.11485</td>\n",
       "      <td>1.11687</td>\n",
       "      <td>1.12460</td>\n",
       "      <td>1.13128</td>\n",
       "      <td>1.13933</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>258</th>\n",
       "      <td>Samoa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>259</th>\n",
       "      <td>Kosovo</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>260</th>\n",
       "      <td>Yemen, Rep.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.43666</td>\n",
       "      <td>0.44019</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>261</th>\n",
       "      <td>South Africa</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.40606</td>\n",
       "      <td>1.41345</td>\n",
       "      <td>1.41181</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.40463</td>\n",
       "      <td>1.43187</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>262</th>\n",
       "      <td>Zambia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.36901</td>\n",
       "      <td>0.73715</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>263</th>\n",
       "      <td>Zimbabwe</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.73304</td>\n",
       "      <td>0.69562</td>\n",
       "      <td>0.70526</td>\n",
       "      <td>0.77549</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.83997</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 12 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               country     2009     2010  \\\n",
       "0                                                Aruba  1.43284  1.41237   \n",
       "1                                          Afghanistan  0.23639      NaN   \n",
       "2                                               Angola      NaN      NaN   \n",
       "3                                              Albania  1.36375  1.35543   \n",
       "4                                              Andorra      NaN      NaN   \n",
       "5                                           Arab World  1.04094  1.04136   \n",
       "6                                 United Arab Emirates      NaN      NaN   \n",
       "7                                            Argentina  1.49186  1.49160   \n",
       "8                                              Armenia  1.23839  1.21927   \n",
       "9                                       American Samoa      NaN      NaN   \n",
       "10                                 Antigua and Barbuda  2.27844  2.68089   \n",
       "11                                           Australia      NaN      NaN   \n",
       "12                                             Austria      NaN      NaN   \n",
       "13                                          Azerbaijan  0.98681  0.98937   \n",
       "14                                             Burundi      NaN  0.54268   \n",
       "15                                             Belgium  1.24892  1.26628   \n",
       "16                                               Benin  0.39077  0.35390   \n",
       "17                                        Burkina Faso  0.48354  0.47905   \n",
       "18                                          Bangladesh  0.59971      NaN   \n",
       "19                                            Bulgaria  1.32993  1.32290   \n",
       "20                                             Bahrain      NaN      NaN   \n",
       "21                                        Bahamas, The      NaN      NaN   \n",
       "22                              Bosnia and Herzegovina      NaN      NaN   \n",
       "23                                             Belarus  1.47214  1.44655   \n",
       "24                                              Belize  1.66270  1.59618   \n",
       "25                                             Bermuda  2.52370  2.05683   \n",
       "26                                             Bolivia      NaN      NaN   \n",
       "27                                              Brazil  1.32152      NaN   \n",
       "28                                            Barbados  2.20390  2.18271   \n",
       "29                                   Brunei Darussalam  1.78264  1.86650   \n",
       "..                                                 ...      ...      ...   \n",
       "234  Latin America & the Caribbean (IDA & IBRD coun...  1.26326  1.27645   \n",
       "235                                        Timor-Leste  0.68262  0.71834   \n",
       "236  Middle East & North Africa (IDA & IBRD countries)  1.00396  0.98703   \n",
       "237                                              Tonga      NaN      NaN   \n",
       "238                            South Asia (IDA & IBRD)  0.71430  0.73983   \n",
       "239          Sub-Saharan Africa (IDA & IBRD countries)  0.70838  0.70587   \n",
       "240                                Trinidad and Tobago      NaN      NaN   \n",
       "241                                            Tunisia  1.50840  1.55235   \n",
       "242                                             Turkey      NaN      NaN   \n",
       "243                                             Tuvalu      NaN      NaN   \n",
       "244                                           Tanzania      NaN  0.82463   \n",
       "245                                             Uganda  0.75974  0.74625   \n",
       "246                                            Ukraine  1.27167  1.25648   \n",
       "247                                Upper middle income  1.15972  1.16757   \n",
       "248                                            Uruguay      NaN      NaN   \n",
       "249                                      United States  1.40157  1.39311   \n",
       "250                                         Uzbekistan  0.69056  0.68058   \n",
       "251                     St. Vincent and the Grenadines      NaN      NaN   \n",
       "252                                      Venezuela, RB      NaN      NaN   \n",
       "253                             British Virgin Islands  1.59500      NaN   \n",
       "254                              Virgin Islands (U.S.)      NaN      NaN   \n",
       "255                                            Vietnam  1.00745  1.01665   \n",
       "256                                            Vanuatu      NaN      NaN   \n",
       "257                                              World  1.07637  1.07705   \n",
       "258                                              Samoa      NaN      NaN   \n",
       "259                                             Kosovo      NaN      NaN   \n",
       "260                                        Yemen, Rep.      NaN  0.43666   \n",
       "261                                       South Africa      NaN      NaN   \n",
       "262                                             Zambia      NaN      NaN   \n",
       "263                                           Zimbabwe      NaN  0.73304   \n",
       "\n",
       "        2011     2012     2013     2014     2015     2016     2017     2018  \\\n",
       "0    1.49926  1.49460  2.20461  2.27028  2.26241  1.94031      NaN      NaN   \n",
       "1    0.34565      NaN      NaN  0.27600      NaN      NaN      NaN  0.34523   \n",
       "2    0.36925      NaN  0.79661      NaN  0.78541  0.82566      NaN      NaN   \n",
       "3    1.37539  1.39701  1.40728  1.43551  1.42608  1.47336  1.52645  1.56984   \n",
       "4        NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "5    1.04497  1.03854  1.03392  1.03775  1.06004  1.08843  1.07958  1.10959   \n",
       "6        NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "7    1.54854  1.56222  1.60015  1.61270  1.63170  1.65707  1.66431      NaN   \n",
       "8    1.18578  1.18178  1.13286  1.14013  1.19169  1.26878  1.27369  1.32958   \n",
       "9        NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "10   2.07896  2.24567      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "11       NaN      NaN      NaN      NaN  1.44446  1.42971  1.42093      NaN   \n",
       "12       NaN      NaN  1.19662  1.19258  1.19299  1.18812  1.18463      NaN   \n",
       "13   1.01629  1.04769  1.11285  1.14195  1.16234  1.17749  1.14894  1.14603   \n",
       "14   0.46166  0.48504  0.44494  0.32848      NaN  0.42868  0.44861      NaN   \n",
       "15   1.27115  1.28248  1.29505  1.30332  1.30720  1.30150  1.30557      NaN   \n",
       "16   0.27232  0.34509  0.38012  0.36512  0.40193  0.42069  0.43936      NaN   \n",
       "17   0.49631  0.49568  0.49261  0.48590  0.52272  0.51226  0.52122  0.58203   \n",
       "18   0.69404  0.72256      NaN  0.73733      NaN  0.70066  0.70081  0.70714   \n",
       "19   1.29973  1.27459  1.27105  1.25935  1.27605  1.24473      NaN      NaN   \n",
       "20   1.71121  2.03262  2.23749  1.97832  1.91666  1.86808  1.89295  1.83390   \n",
       "21       NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "22       NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "23   1.42699  1.39937  1.35478  1.33626  1.32835  1.29107  1.24343  1.18604   \n",
       "24   1.65815  1.65322  1.64151  1.65257  1.60790  1.61911  1.62002      NaN   \n",
       "25   2.06675  1.98982  2.22829  1.87512  2.31080      NaN  1.68152  1.49869   \n",
       "26       NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "27   1.31336  1.34778  1.35137  1.36005  1.33980  1.38149  1.36569      NaN   \n",
       "28   2.24550      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "29   1.76483  1.76696  1.85738  1.73538  1.70615  1.65575  1.62027  1.56193   \n",
       "..       ...      ...      ...      ...      ...      ...      ...      ...   \n",
       "234  1.27155  1.28637  1.28794  1.29219  1.28962  1.29674  1.29734  1.29563   \n",
       "235      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "236  1.00101  1.00010  0.97806  0.96614  0.97803  0.99614  0.99814  1.01615   \n",
       "237      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "238  0.79237  0.87568  0.92636  0.96754  0.96198  0.96763  0.98945  1.01186   \n",
       "239  0.69073  0.71461  0.72391  0.72271  0.73492  0.74392  0.75258  0.75471   \n",
       "240      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "241  1.63399  1.57185  1.59912  1.64585  1.65751  1.73072  1.80442      NaN   \n",
       "242      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "243      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "244      NaN  0.54915  0.54125      NaN  0.53811      NaN      NaN      NaN   \n",
       "245  0.73313  0.68457      NaN  0.72971      NaN      NaN      NaN      NaN   \n",
       "246  1.18348  1.15083  1.19260  1.15601      NaN      NaN      NaN      NaN   \n",
       "247  1.17606  1.17781  1.17991  1.17814  1.18721  1.19392  1.19559  1.20171   \n",
       "248      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "249  1.38578  1.39345  1.37343  1.36078  1.35624  1.34487  1.36020      NaN   \n",
       "250  0.64384  0.59820  0.59647  0.62043  0.62901  0.64671  0.60792  0.69772   \n",
       "251      NaN      NaN      NaN  2.21255  1.67388      NaN      NaN      NaN   \n",
       "252      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "253      NaN      NaN      NaN      NaN  1.79420  1.58504      NaN      NaN   \n",
       "254      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "255  1.02616      NaN  0.90818  1.05553  1.00551  1.24238      NaN      NaN   \n",
       "256      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "257  1.07587  1.09559  1.10652  1.11485  1.11687  1.12460  1.13128  1.13933   \n",
       "258      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "259      NaN      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "260  0.44019      NaN      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "261      NaN  1.40606  1.41345  1.41181      NaN  1.40463  1.43187      NaN   \n",
       "262  0.36901  0.73715      NaN      NaN      NaN      NaN      NaN      NaN   \n",
       "263  0.69562  0.70526  0.77549      NaN  0.83997      NaN      NaN      NaN   \n",
       "\n",
       "     2019  \n",
       "0     NaN  \n",
       "1     NaN  \n",
       "2     NaN  \n",
       "3     NaN  \n",
       "4     NaN  \n",
       "5     NaN  \n",
       "6     NaN  \n",
       "7     NaN  \n",
       "8     NaN  \n",
       "9     NaN  \n",
       "10    NaN  \n",
       "11    NaN  \n",
       "12    NaN  \n",
       "13    NaN  \n",
       "14    NaN  \n",
       "15    NaN  \n",
       "16    NaN  \n",
       "17    NaN  \n",
       "18    NaN  \n",
       "19    NaN  \n",
       "20    NaN  \n",
       "21    NaN  \n",
       "22    NaN  \n",
       "23    NaN  \n",
       "24    NaN  \n",
       "25    NaN  \n",
       "26    NaN  \n",
       "27    NaN  \n",
       "28    NaN  \n",
       "29    NaN  \n",
       "..    ...  \n",
       "234   NaN  \n",
       "235   NaN  \n",
       "236   NaN  \n",
       "237   NaN  \n",
       "238   NaN  \n",
       "239   NaN  \n",
       "240   NaN  \n",
       "241   NaN  \n",
       "242   NaN  \n",
       "243   NaN  \n",
       "244   NaN  \n",
       "245   NaN  \n",
       "246   NaN  \n",
       "247   NaN  \n",
       "248   NaN  \n",
       "249   NaN  \n",
       "250   NaN  \n",
       "251   NaN  \n",
       "252   NaN  \n",
       "253   NaN  \n",
       "254   NaN  \n",
       "255   NaN  \n",
       "256   NaN  \n",
       "257   NaN  \n",
       "258   NaN  \n",
       "259   NaN  \n",
       "260   NaN  \n",
       "261   NaN  \n",
       "262   NaN  \n",
       "263   NaN  \n",
       "\n",
       "[264 rows x 12 columns]"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfe = pd.read_csv('School_enrollment.csv',encoding = 'utf8')\n",
    "dfe"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Aruba</th>\n",
       "      <td>1.43284</td>\n",
       "      <td>1.41237</td>\n",
       "      <td>1.49926</td>\n",
       "      <td>1.49460</td>\n",
       "      <td>2.20461</td>\n",
       "      <td>2.27028</td>\n",
       "      <td>2.26241</td>\n",
       "      <td>1.94031</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Afghanistan</th>\n",
       "      <td>0.23639</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.34565</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.27600</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.34523</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Angola</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.36925</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.79661</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.78541</td>\n",
       "      <td>0.82566</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Albania</th>\n",
       "      <td>1.36375</td>\n",
       "      <td>1.35543</td>\n",
       "      <td>1.37539</td>\n",
       "      <td>1.39701</td>\n",
       "      <td>1.40728</td>\n",
       "      <td>1.43551</td>\n",
       "      <td>1.42608</td>\n",
       "      <td>1.47336</td>\n",
       "      <td>1.52645</td>\n",
       "      <td>1.56984</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Andorra</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Arab World</th>\n",
       "      <td>1.04094</td>\n",
       "      <td>1.04136</td>\n",
       "      <td>1.04497</td>\n",
       "      <td>1.03854</td>\n",
       "      <td>1.03392</td>\n",
       "      <td>1.03775</td>\n",
       "      <td>1.06004</td>\n",
       "      <td>1.08843</td>\n",
       "      <td>1.07958</td>\n",
       "      <td>1.10959</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>United Arab Emirates</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Argentina</th>\n",
       "      <td>1.49186</td>\n",
       "      <td>1.49160</td>\n",
       "      <td>1.54854</td>\n",
       "      <td>1.56222</td>\n",
       "      <td>1.60015</td>\n",
       "      <td>1.61270</td>\n",
       "      <td>1.63170</td>\n",
       "      <td>1.65707</td>\n",
       "      <td>1.66431</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Armenia</th>\n",
       "      <td>1.23839</td>\n",
       "      <td>1.21927</td>\n",
       "      <td>1.18578</td>\n",
       "      <td>1.18178</td>\n",
       "      <td>1.13286</td>\n",
       "      <td>1.14013</td>\n",
       "      <td>1.19169</td>\n",
       "      <td>1.26878</td>\n",
       "      <td>1.27369</td>\n",
       "      <td>1.32958</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>American Samoa</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Antigua and Barbuda</th>\n",
       "      <td>2.27844</td>\n",
       "      <td>2.68089</td>\n",
       "      <td>2.07896</td>\n",
       "      <td>2.24567</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Australia</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.44446</td>\n",
       "      <td>1.42971</td>\n",
       "      <td>1.42093</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Austria</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.19662</td>\n",
       "      <td>1.19258</td>\n",
       "      <td>1.19299</td>\n",
       "      <td>1.18812</td>\n",
       "      <td>1.18463</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Azerbaijan</th>\n",
       "      <td>0.98681</td>\n",
       "      <td>0.98937</td>\n",
       "      <td>1.01629</td>\n",
       "      <td>1.04769</td>\n",
       "      <td>1.11285</td>\n",
       "      <td>1.14195</td>\n",
       "      <td>1.16234</td>\n",
       "      <td>1.17749</td>\n",
       "      <td>1.14894</td>\n",
       "      <td>1.14603</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Burundi</th>\n",
       "      <td>NaN</td>\n",
       "      <td>0.54268</td>\n",
       "      <td>0.46166</td>\n",
       "      <td>0.48504</td>\n",
       "      <td>0.44494</td>\n",
       "      <td>0.32848</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.42868</td>\n",
       "      <td>0.44861</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belgium</th>\n",
       "      <td>1.24892</td>\n",
       "      <td>1.26628</td>\n",
       "      <td>1.27115</td>\n",
       "      <td>1.28248</td>\n",
       "      <td>1.29505</td>\n",
       "      <td>1.30332</td>\n",
       "      <td>1.30720</td>\n",
       "      <td>1.30150</td>\n",
       "      <td>1.30557</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Benin</th>\n",
       "      <td>0.39077</td>\n",
       "      <td>0.35390</td>\n",
       "      <td>0.27232</td>\n",
       "      <td>0.34509</td>\n",
       "      <td>0.38012</td>\n",
       "      <td>0.36512</td>\n",
       "      <td>0.40193</td>\n",
       "      <td>0.42069</td>\n",
       "      <td>0.43936</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Burkina Faso</th>\n",
       "      <td>0.48354</td>\n",
       "      <td>0.47905</td>\n",
       "      <td>0.49631</td>\n",
       "      <td>0.49568</td>\n",
       "      <td>0.49261</td>\n",
       "      <td>0.48590</td>\n",
       "      <td>0.52272</td>\n",
       "      <td>0.51226</td>\n",
       "      <td>0.52122</td>\n",
       "      <td>0.58203</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bangladesh</th>\n",
       "      <td>0.59971</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.69404</td>\n",
       "      <td>0.72256</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.73733</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.70066</td>\n",
       "      <td>0.70081</td>\n",
       "      <td>0.70714</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bulgaria</th>\n",
       "      <td>1.32993</td>\n",
       "      <td>1.32290</td>\n",
       "      <td>1.29973</td>\n",
       "      <td>1.27459</td>\n",
       "      <td>1.27105</td>\n",
       "      <td>1.25935</td>\n",
       "      <td>1.27605</td>\n",
       "      <td>1.24473</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bahrain</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.71121</td>\n",
       "      <td>2.03262</td>\n",
       "      <td>2.23749</td>\n",
       "      <td>1.97832</td>\n",
       "      <td>1.91666</td>\n",
       "      <td>1.86808</td>\n",
       "      <td>1.89295</td>\n",
       "      <td>1.83390</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bahamas, The</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bosnia and Herzegovina</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belarus</th>\n",
       "      <td>1.47214</td>\n",
       "      <td>1.44655</td>\n",
       "      <td>1.42699</td>\n",
       "      <td>1.39937</td>\n",
       "      <td>1.35478</td>\n",
       "      <td>1.33626</td>\n",
       "      <td>1.32835</td>\n",
       "      <td>1.29107</td>\n",
       "      <td>1.24343</td>\n",
       "      <td>1.18604</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Belize</th>\n",
       "      <td>1.66270</td>\n",
       "      <td>1.59618</td>\n",
       "      <td>1.65815</td>\n",
       "      <td>1.65322</td>\n",
       "      <td>1.64151</td>\n",
       "      <td>1.65257</td>\n",
       "      <td>1.60790</td>\n",
       "      <td>1.61911</td>\n",
       "      <td>1.62002</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bermuda</th>\n",
       "      <td>2.52370</td>\n",
       "      <td>2.05683</td>\n",
       "      <td>2.06675</td>\n",
       "      <td>1.98982</td>\n",
       "      <td>2.22829</td>\n",
       "      <td>1.87512</td>\n",
       "      <td>2.31080</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.68152</td>\n",
       "      <td>1.49869</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Bolivia</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Brazil</th>\n",
       "      <td>1.32152</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.31336</td>\n",
       "      <td>1.34778</td>\n",
       "      <td>1.35137</td>\n",
       "      <td>1.36005</td>\n",
       "      <td>1.33980</td>\n",
       "      <td>1.38149</td>\n",
       "      <td>1.36569</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Barbados</th>\n",
       "      <td>2.20390</td>\n",
       "      <td>2.18271</td>\n",
       "      <td>2.24550</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Brunei Darussalam</th>\n",
       "      <td>1.78264</td>\n",
       "      <td>1.86650</td>\n",
       "      <td>1.76483</td>\n",
       "      <td>1.76696</td>\n",
       "      <td>1.85738</td>\n",
       "      <td>1.73538</td>\n",
       "      <td>1.70615</td>\n",
       "      <td>1.65575</td>\n",
       "      <td>1.62027</td>\n",
       "      <td>1.56193</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Latin America &amp; the Caribbean (IDA &amp; IBRD countries)</th>\n",
       "      <td>1.26326</td>\n",
       "      <td>1.27645</td>\n",
       "      <td>1.27155</td>\n",
       "      <td>1.28637</td>\n",
       "      <td>1.28794</td>\n",
       "      <td>1.29219</td>\n",
       "      <td>1.28962</td>\n",
       "      <td>1.29674</td>\n",
       "      <td>1.29734</td>\n",
       "      <td>1.29563</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Timor-Leste</th>\n",
       "      <td>0.68262</td>\n",
       "      <td>0.71834</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Middle East &amp; North Africa (IDA &amp; IBRD countries)</th>\n",
       "      <td>1.00396</td>\n",
       "      <td>0.98703</td>\n",
       "      <td>1.00101</td>\n",
       "      <td>1.00010</td>\n",
       "      <td>0.97806</td>\n",
       "      <td>0.96614</td>\n",
       "      <td>0.97803</td>\n",
       "      <td>0.99614</td>\n",
       "      <td>0.99814</td>\n",
       "      <td>1.01615</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tonga</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>South Asia (IDA &amp; IBRD)</th>\n",
       "      <td>0.71430</td>\n",
       "      <td>0.73983</td>\n",
       "      <td>0.79237</td>\n",
       "      <td>0.87568</td>\n",
       "      <td>0.92636</td>\n",
       "      <td>0.96754</td>\n",
       "      <td>0.96198</td>\n",
       "      <td>0.96763</td>\n",
       "      <td>0.98945</td>\n",
       "      <td>1.01186</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Sub-Saharan Africa (IDA &amp; IBRD countries)</th>\n",
       "      <td>0.70838</td>\n",
       "      <td>0.70587</td>\n",
       "      <td>0.69073</td>\n",
       "      <td>0.71461</td>\n",
       "      <td>0.72391</td>\n",
       "      <td>0.72271</td>\n",
       "      <td>0.73492</td>\n",
       "      <td>0.74392</td>\n",
       "      <td>0.75258</td>\n",
       "      <td>0.75471</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Trinidad and Tobago</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tunisia</th>\n",
       "      <td>1.50840</td>\n",
       "      <td>1.55235</td>\n",
       "      <td>1.63399</td>\n",
       "      <td>1.57185</td>\n",
       "      <td>1.59912</td>\n",
       "      <td>1.64585</td>\n",
       "      <td>1.65751</td>\n",
       "      <td>1.73072</td>\n",
       "      <td>1.80442</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Turkey</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tuvalu</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Tanzania</th>\n",
       "      <td>NaN</td>\n",
       "      <td>0.82463</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.54915</td>\n",
       "      <td>0.54125</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.53811</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uganda</th>\n",
       "      <td>0.75974</td>\n",
       "      <td>0.74625</td>\n",
       "      <td>0.73313</td>\n",
       "      <td>0.68457</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.72971</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Ukraine</th>\n",
       "      <td>1.27167</td>\n",
       "      <td>1.25648</td>\n",
       "      <td>1.18348</td>\n",
       "      <td>1.15083</td>\n",
       "      <td>1.19260</td>\n",
       "      <td>1.15601</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Upper middle income</th>\n",
       "      <td>1.15972</td>\n",
       "      <td>1.16757</td>\n",
       "      <td>1.17606</td>\n",
       "      <td>1.17781</td>\n",
       "      <td>1.17991</td>\n",
       "      <td>1.17814</td>\n",
       "      <td>1.18721</td>\n",
       "      <td>1.19392</td>\n",
       "      <td>1.19559</td>\n",
       "      <td>1.20171</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uruguay</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>United States</th>\n",
       "      <td>1.40157</td>\n",
       "      <td>1.39311</td>\n",
       "      <td>1.38578</td>\n",
       "      <td>1.39345</td>\n",
       "      <td>1.37343</td>\n",
       "      <td>1.36078</td>\n",
       "      <td>1.35624</td>\n",
       "      <td>1.34487</td>\n",
       "      <td>1.36020</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Uzbekistan</th>\n",
       "      <td>0.69056</td>\n",
       "      <td>0.68058</td>\n",
       "      <td>0.64384</td>\n",
       "      <td>0.59820</td>\n",
       "      <td>0.59647</td>\n",
       "      <td>0.62043</td>\n",
       "      <td>0.62901</td>\n",
       "      <td>0.64671</td>\n",
       "      <td>0.60792</td>\n",
       "      <td>0.69772</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>St. Vincent and the Grenadines</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2.21255</td>\n",
       "      <td>1.67388</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Venezuela, RB</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>British Virgin Islands</th>\n",
       "      <td>1.59500</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.79420</td>\n",
       "      <td>1.58504</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Virgin Islands (U.S.)</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Vietnam</th>\n",
       "      <td>1.00745</td>\n",
       "      <td>1.01665</td>\n",
       "      <td>1.02616</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.90818</td>\n",
       "      <td>1.05553</td>\n",
       "      <td>1.00551</td>\n",
       "      <td>1.24238</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Vanuatu</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>World</th>\n",
       "      <td>1.07637</td>\n",
       "      <td>1.07705</td>\n",
       "      <td>1.07587</td>\n",
       "      <td>1.09559</td>\n",
       "      <td>1.10652</td>\n",
       "      <td>1.11485</td>\n",
       "      <td>1.11687</td>\n",
       "      <td>1.12460</td>\n",
       "      <td>1.13128</td>\n",
       "      <td>1.13933</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Samoa</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Kosovo</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Yemen, Rep.</th>\n",
       "      <td>NaN</td>\n",
       "      <td>0.43666</td>\n",
       "      <td>0.44019</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>South Africa</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.40606</td>\n",
       "      <td>1.41345</td>\n",
       "      <td>1.41181</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.40463</td>\n",
       "      <td>1.43187</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zambia</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.36901</td>\n",
       "      <td>0.73715</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>Zimbabwe</th>\n",
       "      <td>NaN</td>\n",
       "      <td>0.73304</td>\n",
       "      <td>0.69562</td>\n",
       "      <td>0.70526</td>\n",
       "      <td>0.77549</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.83997</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>264 rows × 11 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                       2009     2010     2011  \\\n",
       "country                                                                         \n",
       "Aruba                                               1.43284  1.41237  1.49926   \n",
       "Afghanistan                                         0.23639      NaN  0.34565   \n",
       "Angola                                                  NaN      NaN  0.36925   \n",
       "Albania                                             1.36375  1.35543  1.37539   \n",
       "Andorra                                                 NaN      NaN      NaN   \n",
       "Arab World                                          1.04094  1.04136  1.04497   \n",
       "United Arab Emirates                                    NaN      NaN      NaN   \n",
       "Argentina                                           1.49186  1.49160  1.54854   \n",
       "Armenia                                             1.23839  1.21927  1.18578   \n",
       "American Samoa                                          NaN      NaN      NaN   \n",
       "Antigua and Barbuda                                 2.27844  2.68089  2.07896   \n",
       "Australia                                               NaN      NaN      NaN   \n",
       "Austria                                                 NaN      NaN      NaN   \n",
       "Azerbaijan                                          0.98681  0.98937  1.01629   \n",
       "Burundi                                                 NaN  0.54268  0.46166   \n",
       "Belgium                                             1.24892  1.26628  1.27115   \n",
       "Benin                                               0.39077  0.35390  0.27232   \n",
       "Burkina Faso                                        0.48354  0.47905  0.49631   \n",
       "Bangladesh                                          0.59971      NaN  0.69404   \n",
       "Bulgaria                                            1.32993  1.32290  1.29973   \n",
       "Bahrain                                                 NaN      NaN  1.71121   \n",
       "Bahamas, The                                            NaN      NaN      NaN   \n",
       "Bosnia and Herzegovina                                  NaN      NaN      NaN   \n",
       "Belarus                                             1.47214  1.44655  1.42699   \n",
       "Belize                                              1.66270  1.59618  1.65815   \n",
       "Bermuda                                             2.52370  2.05683  2.06675   \n",
       "Bolivia                                                 NaN      NaN      NaN   \n",
       "Brazil                                              1.32152      NaN  1.31336   \n",
       "Barbados                                            2.20390  2.18271  2.24550   \n",
       "Brunei Darussalam                                   1.78264  1.86650  1.76483   \n",
       "...                                                     ...      ...      ...   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  1.26326  1.27645  1.27155   \n",
       "Timor-Leste                                         0.68262  0.71834      NaN   \n",
       "Middle East & North Africa (IDA & IBRD countries)   1.00396  0.98703  1.00101   \n",
       "Tonga                                                   NaN      NaN      NaN   \n",
       "South Asia (IDA & IBRD)                             0.71430  0.73983  0.79237   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           0.70838  0.70587  0.69073   \n",
       "Trinidad and Tobago                                     NaN      NaN      NaN   \n",
       "Tunisia                                             1.50840  1.55235  1.63399   \n",
       "Turkey                                                  NaN      NaN      NaN   \n",
       "Tuvalu                                                  NaN      NaN      NaN   \n",
       "Tanzania                                                NaN  0.82463      NaN   \n",
       "Uganda                                              0.75974  0.74625  0.73313   \n",
       "Ukraine                                             1.27167  1.25648  1.18348   \n",
       "Upper middle income                                 1.15972  1.16757  1.17606   \n",
       "Uruguay                                                 NaN      NaN      NaN   \n",
       "United States                                       1.40157  1.39311  1.38578   \n",
       "Uzbekistan                                          0.69056  0.68058  0.64384   \n",
       "St. Vincent and the Grenadines                          NaN      NaN      NaN   \n",
       "Venezuela, RB                                           NaN      NaN      NaN   \n",
       "British Virgin Islands                              1.59500      NaN      NaN   \n",
       "Virgin Islands (U.S.)                                   NaN      NaN      NaN   \n",
       "Vietnam                                             1.00745  1.01665  1.02616   \n",
       "Vanuatu                                                 NaN      NaN      NaN   \n",
       "World                                               1.07637  1.07705  1.07587   \n",
       "Samoa                                                   NaN      NaN      NaN   \n",
       "Kosovo                                                  NaN      NaN      NaN   \n",
       "Yemen, Rep.                                             NaN  0.43666  0.44019   \n",
       "South Africa                                            NaN      NaN      NaN   \n",
       "Zambia                                                  NaN      NaN  0.36901   \n",
       "Zimbabwe                                                NaN  0.73304  0.69562   \n",
       "\n",
       "                                                       2012     2013     2014  \\\n",
       "country                                                                         \n",
       "Aruba                                               1.49460  2.20461  2.27028   \n",
       "Afghanistan                                             NaN      NaN  0.27600   \n",
       "Angola                                                  NaN  0.79661      NaN   \n",
       "Albania                                             1.39701  1.40728  1.43551   \n",
       "Andorra                                                 NaN      NaN      NaN   \n",
       "Arab World                                          1.03854  1.03392  1.03775   \n",
       "United Arab Emirates                                    NaN      NaN      NaN   \n",
       "Argentina                                           1.56222  1.60015  1.61270   \n",
       "Armenia                                             1.18178  1.13286  1.14013   \n",
       "American Samoa                                          NaN      NaN      NaN   \n",
       "Antigua and Barbuda                                 2.24567      NaN      NaN   \n",
       "Australia                                               NaN      NaN      NaN   \n",
       "Austria                                                 NaN  1.19662  1.19258   \n",
       "Azerbaijan                                          1.04769  1.11285  1.14195   \n",
       "Burundi                                             0.48504  0.44494  0.32848   \n",
       "Belgium                                             1.28248  1.29505  1.30332   \n",
       "Benin                                               0.34509  0.38012  0.36512   \n",
       "Burkina Faso                                        0.49568  0.49261  0.48590   \n",
       "Bangladesh                                          0.72256      NaN  0.73733   \n",
       "Bulgaria                                            1.27459  1.27105  1.25935   \n",
       "Bahrain                                             2.03262  2.23749  1.97832   \n",
       "Bahamas, The                                            NaN      NaN      NaN   \n",
       "Bosnia and Herzegovina                                  NaN      NaN      NaN   \n",
       "Belarus                                             1.39937  1.35478  1.33626   \n",
       "Belize                                              1.65322  1.64151  1.65257   \n",
       "Bermuda                                             1.98982  2.22829  1.87512   \n",
       "Bolivia                                                 NaN      NaN      NaN   \n",
       "Brazil                                              1.34778  1.35137  1.36005   \n",
       "Barbados                                                NaN      NaN      NaN   \n",
       "Brunei Darussalam                                   1.76696  1.85738  1.73538   \n",
       "...                                                     ...      ...      ...   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  1.28637  1.28794  1.29219   \n",
       "Timor-Leste                                             NaN      NaN      NaN   \n",
       "Middle East & North Africa (IDA & IBRD countries)   1.00010  0.97806  0.96614   \n",
       "Tonga                                                   NaN      NaN      NaN   \n",
       "South Asia (IDA & IBRD)                             0.87568  0.92636  0.96754   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           0.71461  0.72391  0.72271   \n",
       "Trinidad and Tobago                                     NaN      NaN      NaN   \n",
       "Tunisia                                             1.57185  1.59912  1.64585   \n",
       "Turkey                                                  NaN      NaN      NaN   \n",
       "Tuvalu                                                  NaN      NaN      NaN   \n",
       "Tanzania                                            0.54915  0.54125      NaN   \n",
       "Uganda                                              0.68457      NaN  0.72971   \n",
       "Ukraine                                             1.15083  1.19260  1.15601   \n",
       "Upper middle income                                 1.17781  1.17991  1.17814   \n",
       "Uruguay                                                 NaN      NaN      NaN   \n",
       "United States                                       1.39345  1.37343  1.36078   \n",
       "Uzbekistan                                          0.59820  0.59647  0.62043   \n",
       "St. Vincent and the Grenadines                          NaN      NaN  2.21255   \n",
       "Venezuela, RB                                           NaN      NaN      NaN   \n",
       "British Virgin Islands                                  NaN      NaN      NaN   \n",
       "Virgin Islands (U.S.)                                   NaN      NaN      NaN   \n",
       "Vietnam                                                 NaN  0.90818  1.05553   \n",
       "Vanuatu                                                 NaN      NaN      NaN   \n",
       "World                                               1.09559  1.10652  1.11485   \n",
       "Samoa                                                   NaN      NaN      NaN   \n",
       "Kosovo                                                  NaN      NaN      NaN   \n",
       "Yemen, Rep.                                             NaN      NaN      NaN   \n",
       "South Africa                                        1.40606  1.41345  1.41181   \n",
       "Zambia                                              0.73715      NaN      NaN   \n",
       "Zimbabwe                                            0.70526  0.77549      NaN   \n",
       "\n",
       "                                                       2015     2016     2017  \\\n",
       "country                                                                         \n",
       "Aruba                                               2.26241  1.94031      NaN   \n",
       "Afghanistan                                             NaN      NaN      NaN   \n",
       "Angola                                              0.78541  0.82566      NaN   \n",
       "Albania                                             1.42608  1.47336  1.52645   \n",
       "Andorra                                                 NaN      NaN      NaN   \n",
       "Arab World                                          1.06004  1.08843  1.07958   \n",
       "United Arab Emirates                                    NaN      NaN      NaN   \n",
       "Argentina                                           1.63170  1.65707  1.66431   \n",
       "Armenia                                             1.19169  1.26878  1.27369   \n",
       "American Samoa                                          NaN      NaN      NaN   \n",
       "Antigua and Barbuda                                     NaN      NaN      NaN   \n",
       "Australia                                           1.44446  1.42971  1.42093   \n",
       "Austria                                             1.19299  1.18812  1.18463   \n",
       "Azerbaijan                                          1.16234  1.17749  1.14894   \n",
       "Burundi                                                 NaN  0.42868  0.44861   \n",
       "Belgium                                             1.30720  1.30150  1.30557   \n",
       "Benin                                               0.40193  0.42069  0.43936   \n",
       "Burkina Faso                                        0.52272  0.51226  0.52122   \n",
       "Bangladesh                                              NaN  0.70066  0.70081   \n",
       "Bulgaria                                            1.27605  1.24473      NaN   \n",
       "Bahrain                                             1.91666  1.86808  1.89295   \n",
       "Bahamas, The                                            NaN      NaN      NaN   \n",
       "Bosnia and Herzegovina                                  NaN      NaN      NaN   \n",
       "Belarus                                             1.32835  1.29107  1.24343   \n",
       "Belize                                              1.60790  1.61911  1.62002   \n",
       "Bermuda                                             2.31080      NaN  1.68152   \n",
       "Bolivia                                                 NaN      NaN      NaN   \n",
       "Brazil                                              1.33980  1.38149  1.36569   \n",
       "Barbados                                                NaN      NaN      NaN   \n",
       "Brunei Darussalam                                   1.70615  1.65575  1.62027   \n",
       "...                                                     ...      ...      ...   \n",
       "Latin America & the Caribbean (IDA & IBRD count...  1.28962  1.29674  1.29734   \n",
       "Timor-Leste                                             NaN      NaN      NaN   \n",
       "Middle East & North Africa (IDA & IBRD countries)   0.97803  0.99614  0.99814   \n",
       "Tonga                                                   NaN      NaN      NaN   \n",
       "South Asia (IDA & IBRD)                             0.96198  0.96763  0.98945   \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           0.73492  0.74392  0.75258   \n",
       "Trinidad and Tobago                                     NaN      NaN      NaN   \n",
       "Tunisia                                             1.65751  1.73072  1.80442   \n",
       "Turkey                                                  NaN      NaN      NaN   \n",
       "Tuvalu                                                  NaN      NaN      NaN   \n",
       "Tanzania                                            0.53811      NaN      NaN   \n",
       "Uganda                                                  NaN      NaN      NaN   \n",
       "Ukraine                                                 NaN      NaN      NaN   \n",
       "Upper middle income                                 1.18721  1.19392  1.19559   \n",
       "Uruguay                                                 NaN      NaN      NaN   \n",
       "United States                                       1.35624  1.34487  1.36020   \n",
       "Uzbekistan                                          0.62901  0.64671  0.60792   \n",
       "St. Vincent and the Grenadines                      1.67388      NaN      NaN   \n",
       "Venezuela, RB                                           NaN      NaN      NaN   \n",
       "British Virgin Islands                              1.79420  1.58504      NaN   \n",
       "Virgin Islands (U.S.)                                   NaN      NaN      NaN   \n",
       "Vietnam                                             1.00551  1.24238      NaN   \n",
       "Vanuatu                                                 NaN      NaN      NaN   \n",
       "World                                               1.11687  1.12460  1.13128   \n",
       "Samoa                                                   NaN      NaN      NaN   \n",
       "Kosovo                                                  NaN      NaN      NaN   \n",
       "Yemen, Rep.                                             NaN      NaN      NaN   \n",
       "South Africa                                            NaN  1.40463  1.43187   \n",
       "Zambia                                                  NaN      NaN      NaN   \n",
       "Zimbabwe                                            0.83997      NaN      NaN   \n",
       "\n",
       "                                                       2018  2019  \n",
       "country                                                            \n",
       "Aruba                                                   NaN   NaN  \n",
       "Afghanistan                                         0.34523   NaN  \n",
       "Angola                                                  NaN   NaN  \n",
       "Albania                                             1.56984   NaN  \n",
       "Andorra                                                 NaN   NaN  \n",
       "Arab World                                          1.10959   NaN  \n",
       "United Arab Emirates                                    NaN   NaN  \n",
       "Argentina                                               NaN   NaN  \n",
       "Armenia                                             1.32958   NaN  \n",
       "American Samoa                                          NaN   NaN  \n",
       "Antigua and Barbuda                                     NaN   NaN  \n",
       "Australia                                               NaN   NaN  \n",
       "Austria                                                 NaN   NaN  \n",
       "Azerbaijan                                          1.14603   NaN  \n",
       "Burundi                                                 NaN   NaN  \n",
       "Belgium                                                 NaN   NaN  \n",
       "Benin                                                   NaN   NaN  \n",
       "Burkina Faso                                        0.58203   NaN  \n",
       "Bangladesh                                          0.70714   NaN  \n",
       "Bulgaria                                                NaN   NaN  \n",
       "Bahrain                                             1.83390   NaN  \n",
       "Bahamas, The                                            NaN   NaN  \n",
       "Bosnia and Herzegovina                                  NaN   NaN  \n",
       "Belarus                                             1.18604   NaN  \n",
       "Belize                                                  NaN   NaN  \n",
       "Bermuda                                             1.49869   NaN  \n",
       "Bolivia                                                 NaN   NaN  \n",
       "Brazil                                                  NaN   NaN  \n",
       "Barbados                                                NaN   NaN  \n",
       "Brunei Darussalam                                   1.56193   NaN  \n",
       "...                                                     ...   ...  \n",
       "Latin America & the Caribbean (IDA & IBRD count...  1.29563   NaN  \n",
       "Timor-Leste                                             NaN   NaN  \n",
       "Middle East & North Africa (IDA & IBRD countries)   1.01615   NaN  \n",
       "Tonga                                                   NaN   NaN  \n",
       "South Asia (IDA & IBRD)                             1.01186   NaN  \n",
       "Sub-Saharan Africa (IDA & IBRD countries)           0.75471   NaN  \n",
       "Trinidad and Tobago                                     NaN   NaN  \n",
       "Tunisia                                                 NaN   NaN  \n",
       "Turkey                                                  NaN   NaN  \n",
       "Tuvalu                                                  NaN   NaN  \n",
       "Tanzania                                                NaN   NaN  \n",
       "Uganda                                                  NaN   NaN  \n",
       "Ukraine                                                 NaN   NaN  \n",
       "Upper middle income                                 1.20171   NaN  \n",
       "Uruguay                                                 NaN   NaN  \n",
       "United States                                           NaN   NaN  \n",
       "Uzbekistan                                          0.69772   NaN  \n",
       "St. Vincent and the Grenadines                          NaN   NaN  \n",
       "Venezuela, RB                                           NaN   NaN  \n",
       "British Virgin Islands                                  NaN   NaN  \n",
       "Virgin Islands (U.S.)                                   NaN   NaN  \n",
       "Vietnam                                                 NaN   NaN  \n",
       "Vanuatu                                                 NaN   NaN  \n",
       "World                                               1.13933   NaN  \n",
       "Samoa                                                   NaN   NaN  \n",
       "Kosovo                                                  NaN   NaN  \n",
       "Yemen, Rep.                                             NaN   NaN  \n",
       "South Africa                                            NaN   NaN  \n",
       "Zambia                                                  NaN   NaN  \n",
       "Zimbabwe                                                NaN   NaN  \n",
       "\n",
       "[264 rows x 11 columns]"
      ]
     },
     "execution_count": 59,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfe1=dfe.set_index('country')\n",
    "dfe1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array(['2009', '2010', '2011', '2012', '2013', '2014', '2015', '2016',\n",
       "       '2017', '2018', '2019'], dtype=object)"
      ]
     },
     "execution_count": 60,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dfe2 = dfe1.columns.values[0:]\n",
    "dfe2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 61,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Canada</th>\n",
       "      <td>1.40023</td>\n",
       "      <td>1.37998</td>\n",
       "      <td>1.36745</td>\n",
       "      <td>1.34253</td>\n",
       "      <td>1.33414</td>\n",
       "      <td>1.3352</td>\n",
       "      <td>1.34124</td>\n",
       "      <td>1.34047</td>\n",
       "      <td>1.34238</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            2009     2010     2011     2012     2013    2014     2015  \\\n",
       "country                                                                 \n",
       "Canada   1.40023  1.37998  1.36745  1.34253  1.33414  1.3352  1.34124   \n",
       "\n",
       "            2016     2017  2018  2019  \n",
       "country                                \n",
       "Canada   1.34047  1.34238   NaN   NaN  "
      ]
     },
     "execution_count": 61,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Canada=dfe1[33:34]\n",
    "Canada"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[1.4002299999999999,\n",
       " 1.37998,\n",
       " 1.36745,\n",
       " 1.34253,\n",
       " 1.3341399999999999,\n",
       " 1.3352,\n",
       " 1.34124,\n",
       " 1.34047,\n",
       " 1.34238,\n",
       " nan,\n",
       " nan]"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Canada = list(dfe1.loc[\"Canada\"].values)[0:]\n",
    "Canada"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>United Arab Emirates</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                      2009  2010  2011  2012  2013  2014  2015  2016  2017  \\\n",
       "country                                                                      \n",
       "United Arab Emirates   NaN   NaN   NaN   NaN   NaN   NaN   NaN   NaN   NaN   \n",
       "\n",
       "                      2018  2019  \n",
       "country                           \n",
       "United Arab Emirates   NaN   NaN  "
      ]
     },
     "execution_count": 63,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "阿拉伯联合酋长国=dfe1[6:7]\n",
    "阿拉伯联合酋长国"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Nepal</th>\n",
       "      <td>0.61691</td>\n",
       "      <td>0.64183</td>\n",
       "      <td>0.66387</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.80788</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.94079</td>\n",
       "      <td>0.97699</td>\n",
       "      <td>1.00909</td>\n",
       "      <td>1.0719</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            2009     2010     2011  2012     2013  2014     2015     2016  \\\n",
       "country                                                                     \n",
       "Nepal    0.61691  0.64183  0.66387   NaN  0.80788   NaN  0.94079  0.97699   \n",
       "\n",
       "            2017    2018  2019  \n",
       "country                         \n",
       "Nepal    1.00909  1.0719   NaN  "
      ]
     },
     "execution_count": 64,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "尼泊尔=dfe1[176:177]\n",
    "尼泊尔"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.6169100000000001,\n",
       " 0.64183,\n",
       " 0.66387,\n",
       " nan,\n",
       " 0.80788,\n",
       " nan,\n",
       " 0.94079,\n",
       " 0.9769899999999999,\n",
       " 1.00909,\n",
       " 1.0719,\n",
       " nan]"
      ]
     },
     "execution_count": 65,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Nepal = list(dfe1.loc[\"Nepal\"].values)[0:]\n",
    "Nepal"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 66,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Brazil</th>\n",
       "      <td>1.32152</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.31336</td>\n",
       "      <td>1.34778</td>\n",
       "      <td>1.35137</td>\n",
       "      <td>1.36005</td>\n",
       "      <td>1.3398</td>\n",
       "      <td>1.38149</td>\n",
       "      <td>1.36569</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "            2009  2010     2011     2012     2013     2014    2015     2016  \\\n",
       "country                                                                       \n",
       "Brazil   1.32152   NaN  1.31336  1.34778  1.35137  1.36005  1.3398  1.38149   \n",
       "\n",
       "            2017  2018  2019  \n",
       "country                       \n",
       "Brazil   1.36569   NaN   NaN  "
      ]
     },
     "execution_count": 66,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "巴西=dfe1[27:28]\n",
    "巴西"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 67,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[1.32152,\n",
       " nan,\n",
       " 1.31336,\n",
       " 1.34778,\n",
       " 1.3513700000000002,\n",
       " 1.36005,\n",
       " 1.3398,\n",
       " 1.3814899999999999,\n",
       " 1.36569,\n",
       " nan,\n",
       " nan]"
      ]
     },
     "execution_count": 67,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Brazil = list(dfe1.loc[\"Brazil\"].values)[0:]\n",
    "Brazil"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Egypt, Arab Rep.</th>\n",
       "      <td>0.89888</td>\n",
       "      <td>0.91622</td>\n",
       "      <td>0.9099</td>\n",
       "      <td>0.89463</td>\n",
       "      <td>0.89272</td>\n",
       "      <td>0.89416</td>\n",
       "      <td>0.96149</td>\n",
       "      <td>1.02283</td>\n",
       "      <td>1.03466</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                     2009     2010    2011     2012     2013     2014  \\\n",
       "country                                                                 \n",
       "Egypt, Arab Rep.  0.89888  0.91622  0.9099  0.89463  0.89272  0.89416   \n",
       "\n",
       "                     2015     2016     2017  2018  2019  \n",
       "country                                                  \n",
       "Egypt, Arab Rep.  0.96149  1.02283  1.03466   NaN   NaN  "
      ]
     },
     "execution_count": 68,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "埃及=dfe1[65:66]\n",
    "埃及"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.8988799999999999,\n",
       " 0.91622,\n",
       " 0.9099,\n",
       " 0.8946299999999999,\n",
       " 0.8927200000000001,\n",
       " 0.8941600000000001,\n",
       " 0.96149,\n",
       " 1.02283,\n",
       " 1.0346600000000001,\n",
       " nan,\n",
       " nan]"
      ]
     },
     "execution_count": 69,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Egypt = list(dfe1.loc[\"Egypt, Arab Rep.\"].values)[0:]\n",
    "Egypt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Cambodia</th>\n",
       "      <td>0.56029</td>\n",
       "      <td>0.60209</td>\n",
       "      <td>0.62643</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.82081</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0.86536</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "             2009     2010     2011  2012  2013  2014     2015  2016     2017  \\\n",
       "country                                                                         \n",
       "Cambodia  0.56029  0.60209  0.62643   NaN   NaN   NaN  0.82081   NaN  0.86536   \n",
       "\n",
       "          2018  2019  \n",
       "country               \n",
       "Cambodia   NaN   NaN  "
      ]
     },
     "execution_count": 70,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "柬埔寨=dfe1[121:122]\n",
    "柬埔寨"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.60209, 0.62643, nan, nan, nan, 0.82081, nan, 0.86536, nan, nan]"
      ]
     },
     "execution_count": 71,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Cambodia=list(dfe1.loc[\"Cambodia\"].values)[1:]\n",
    "Cambodia"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 72,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Rwanda</th>\n",
       "      <td>0.7655</td>\n",
       "      <td>0.77673</td>\n",
       "      <td>0.75195</td>\n",
       "      <td>0.80607</td>\n",
       "      <td>0.79536</td>\n",
       "      <td>0.83917</td>\n",
       "      <td>0.78807</td>\n",
       "      <td>0.77478</td>\n",
       "      <td>0.89507</td>\n",
       "      <td>0.80682</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "           2009     2010     2011     2012     2013     2014     2015  \\\n",
       "country                                                                 \n",
       "Rwanda   0.7655  0.77673  0.75195  0.80607  0.79536  0.83917  0.78807   \n",
       "\n",
       "            2016     2017     2018  2019  \n",
       "country                                   \n",
       "Rwanda   0.77478  0.89507  0.80682   NaN  "
      ]
     },
     "execution_count": 72,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "卢旺达=dfe1[201:202]\n",
    "卢旺达"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 73,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.77673,\n",
       " 0.75195,\n",
       " 0.80607,\n",
       " 0.7953600000000001,\n",
       " 0.8391700000000001,\n",
       " 0.7880699999999999,\n",
       " 0.77478,\n",
       " 0.89507,\n",
       " 0.80682,\n",
       " nan]"
      ]
     },
     "execution_count": 73,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Rwanda=list(dfe1.loc[\"Rwanda\"].values)[1:]\n",
    "Rwanda"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 74,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>2009</th>\n",
       "      <th>2010</th>\n",
       "      <th>2011</th>\n",
       "      <th>2012</th>\n",
       "      <th>2013</th>\n",
       "      <th>2014</th>\n",
       "      <th>2015</th>\n",
       "      <th>2016</th>\n",
       "      <th>2017</th>\n",
       "      <th>2018</th>\n",
       "      <th>2019</th>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>country</th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "      <th></th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>Madagascar</th>\n",
       "      <td>0.90335</td>\n",
       "      <td>0.91164</td>\n",
       "      <td>0.92722</td>\n",
       "      <td>0.91709</td>\n",
       "      <td>0.9373</td>\n",
       "      <td>0.91787</td>\n",
       "      <td>0.90415</td>\n",
       "      <td>0.92001</td>\n",
       "      <td>0.93284</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "               2009     2010     2011     2012    2013     2014     2015  \\\n",
       "country                                                                    \n",
       "Madagascar  0.90335  0.91164  0.92722  0.91709  0.9373  0.91787  0.90415   \n",
       "\n",
       "               2016     2017  2018  2019  \n",
       "country                                   \n",
       "Madagascar  0.92001  0.93284   NaN   NaN  "
      ]
     },
     "execution_count": 74,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "马达加斯加 =dfe1[149:150]\n",
    "马达加斯加"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 75,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[0.91164,\n",
       " 0.92722,\n",
       " 0.91709,\n",
       " 0.9373,\n",
       " 0.9178700000000001,\n",
       " 0.90415,\n",
       " 0.92001,\n",
       " 0.93284,\n",
       " nan,\n",
       " nan]"
      ]
     },
     "execution_count": 75,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "Madagascar=list(dfe1.loc[\"Madagascar\"].values)[1:]\n",
    "Madagascar"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 77,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'C:\\\\Users\\\\Administrator\\\\Desktop\\\\王子佳\\\\render.html'"
      ]
     },
     "execution_count": 77,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import pyecharts.options as opts\n",
    "from pyecharts.faker import  Faker\n",
    "from pyecharts.charts import Line\n",
    "\n",
    "def bar_base() -> Bar:\n",
    "    x = [int(x)for x in dfc1.columns.values[1:]]\n",
    "    c = (\n",
    "        Bar()\n",
    "        .add_xaxis(x)\n",
    "        .add_yaxis(\"加拿大\", Canada)\n",
    "        .add_yaxis(\"尼泊尔\", Nepal)\n",
    "        .add_yaxis(\"巴西\", Brazil)\n",
    "        .add_yaxis(\"埃及\", Egypt)\n",
    "        .add_yaxis(\"柬埔寨\", Cambodia)\n",
    "        .add_yaxis(\"卢旺达\", Rwanda)\n",
    "        .add_yaxis(\"马达加斯加\", Madagascar)\n",
    "        .set_global_opts(title_opts=opts.TitleOpts(title=\"高等学校女性入学比例\", subtitle=\"2009-2019\"))\n",
    "    )\n",
    "    return c\n",
    "bar_base().render()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 在图中可以看出加拿大和巴西的高等学校入学比例比较高。加拿大和巴西作为高收入和中高收入国家，且国家科技发达，因此女性\n",
    "\n",
    "  #### 入学率高在意料之中。而且两个国家的女性劳动力参与劳动比率都比较高，在50-60%之间，因此可以合理推断，学历越高的女性参\n",
    "\n",
    "  #### 与劳动的比率会越高，男性劳动力与女性劳动力参与劳动旗鼓相当。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 尼泊尔与柬埔寨的高等学校女性入学比例较低。两者作为以农业为主的传统国家，且作为南亚和东南亚国家，女性在国家中的\n",
    "\n",
    "  #### 地位并不高，因此无法接受过多教育，只能从事农业相关的劳作任务，甚至还要负担家中男性的教育开支，因此女性劳动力参与\n",
    "  \n",
    "  #### 劳动的比率较高。但女性进入高等学校的比例正逐步上升，这种情况会逐步改善，女性劳动力参与劳动比率会呈下降趋势。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 与尼泊尔和柬埔寨相比，埃及的高等学校女性入学比例相对较高，与为低收入国家的马达加斯加基本持平，但总体呈上升趋势。从人均\n",
    " \n",
    "  #### 收入来看，埃及比马达加斯加的人均收入高，且国家发展远超马达加斯加，但高等女性入学比例却与低收入国家女性持平，说明在\n",
    "  \n",
    "  #### 埃及国内女性无法接受过多教育，结合其宗教背景，女性地位远不及男性，女性无法入学高等学校，也无法参与劳动，只能在家里当\n",
    "  \n",
    "  #### 家庭主妇，女性没有上升途径。虽然高等学校的女性入学比例呈上升趋势，但上升趋势缓慢，女性在较长一段时间内仍然无法改变现\n",
    "  \n",
    "  #### 状。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "- #### 卢旺达与马达加斯加同为不发达和低收入国家，马达加斯加的高等学校女性入学比例远高于卢旺达。通过查询资料，马达加斯加对于女性\n",
    "\n",
    "  #### 教育和女性平权有了国家层面的措施。随着基督教在马达加斯加的不断深入，女性地位得到了明显提高，女性能更多的参与到劳动\n",
    "  \n",
    "  #### 学习中去，这样的做法值得其他低收入和埃及等宗教国家借鉴。"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "[马达加斯加男女童入学比例为何能够持平](http://www.nwccw.gov.cn/2019-10/16/content_272671.htm)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 72,
   "metadata": {},
   "outputs": [
    {
     "ename": "UnsupportedOperation",
     "evalue": "not writable",
     "output_type": "error",
     "traceback": [
      "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[1;31mUnsupportedOperation\u001b[0m                      Traceback (most recent call last)",
      "\u001b[1;32m<ipython-input-72-1832dc70af5e>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m()\u001b[0m\n\u001b[0;32m     59\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m     60\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0m__name__\u001b[0m \u001b[1;33m==\u001b[0m \u001b[1;34m'__main__'\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m---> 61\u001b[1;33m     \u001b[0mapp\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mdebug\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mTrue\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0mport\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;36m8000\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
      "\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\flask\\app.py\u001b[0m in \u001b[0;36mrun\u001b[1;34m(self, host, port, debug, load_dotenv, **options)\u001b[0m\n\u001b[0;32m    936\u001b[0m         \u001b[0moptions\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msetdefault\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m'threaded'\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    937\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 938\u001b[1;33m         \u001b[0mcli\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mshow_server_banner\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0menv\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdebug\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;32mFalse\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    939\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    940\u001b[0m         \u001b[1;32mfrom\u001b[0m \u001b[0mwerkzeug\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mserving\u001b[0m \u001b[1;32mimport\u001b[0m \u001b[0mrun_simple\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\flask\\cli.py\u001b[0m in \u001b[0;36mshow_server_banner\u001b[1;34m(env, debug, app_import_path, eager_loading)\u001b[0m\n\u001b[0;32m    627\u001b[0m             \u001b[0mmessage\u001b[0m \u001b[1;33m+=\u001b[0m \u001b[1;34m' (lazy loading)'\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    628\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 629\u001b[1;33m         \u001b[0mclick\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mecho\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmessage\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    630\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    631\u001b[0m     \u001b[0mclick\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mecho\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m' * Environment: {0}'\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mformat\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0menv\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;32m~\\Anaconda3\\lib\\site-packages\\click\\utils.py\u001b[0m in \u001b[0;36mecho\u001b[1;34m(message, file, nl, err, color)\u001b[0m\n\u001b[0;32m    257\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    258\u001b[0m     \u001b[1;32mif\u001b[0m \u001b[0mmessage\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 259\u001b[1;33m         \u001b[0mfile\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mwrite\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mmessage\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m    260\u001b[0m     \u001b[0mfile\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mflush\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m    261\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n",
      "\u001b[1;31mUnsupportedOperation\u001b[0m: not writable"
     ]
    }
   ],
   "source": [
    "from flask import Flask, render_template, request\n",
    "import pandas as pd\n",
    "import cufflinks as cf\n",
    "import plotly as py\n",
    "import plotly.graph_objs as go\n",
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Line\n",
    "\n",
    "df1 = pd.read_csv(\"School_enrollment.csv\",encoding = 'gbk')\n",
    "\n",
    "\n",
    "app = Flask(__name__)\n",
    "\n",
    "# 准备工作\n",
    "\n",
    "regions_available = list(df1.country.dropna().unique())\n",
    "# cf.set_config_file(offline=True, theme=\"ggplot\")\n",
    "# py.offline.init_notebook_mode()\n",
    "\n",
    "\n",
    "\n",
    "@app.route('/',methods=['GET'])\n",
    "def hu_run_2019():\n",
    "    data_str = df1.to_html()\n",
    "    return render_template('results2.html',\n",
    "                           the_res = data_str,\n",
    "                           the_select_region=regions_available)\n",
    "\n",
    "@app.route('/hurun',methods=['POST'])\n",
    "def hu_run_select() -> 'html':\n",
    "    the_region = request.form[\"the_region_selected\"]\n",
    "    print(the_region) # 检查用户输入\n",
    "    dfs = df1.query(\"country=='{}'\".format(the_region))\n",
    "#     df_summary = dfs.groupby(\"行业\").agg({\"企业名称\":\"count\",\"估值（亿人民币）\":\"sum\",\"成立年份\":\"mean\"}).sort_values(by = \"企业名称\",ascending = False )\n",
    "#     print(df_summary.head(5)) # 在后台检查描述性统计\n",
    "#     ## user select\n",
    "    # print(dfs)\n",
    "#     # 交互式可视化画图\n",
    "    fig = dfs.iplot(kind=\"bar\", x=\"country\", asFigure=True)\n",
    "    py.offline.plot(fig, filename=\"example1.html\",auto_open=False)\n",
    "    with open(\"example1.html\", encoding=\"utf8\", mode=\"r\") as f:\n",
    "        plot_all = \"\".join(f.readlines())\n",
    "\n",
    "#     # plotly.offline.plot(data, filename='file.html')\n",
    "\t\n",
    "#     with open(\"render.html\", encoding=\"utf8\", mode=\"r\") as f:\n",
    "#         plot_all = \"\".join(f.readlines())\n",
    "\t\t\t\n",
    "    data_str = dfs.to_html()\n",
    "    return render_template('results2.html',\n",
    "                            the_plot_all = plot_all,\n",
    "\t\t\t\t\t\t\t# the_plot_all = [],\n",
    "                            the_res = data_str,\n",
    "                            the_select_region=regions_available,\n",
    "                           )\n",
    "\n",
    "\n",
    "\n",
    "\n",
    "if __name__ == '__main__':\n",
    "    app.run(debug=True,port=8000)\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
